That project is working well seperately but when merging it into my project am getting that error

that project is working well separately but when merging it into my project am getting that error


UberFirebaseExperiment__1.aia (17.2 KB)

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

This type of error after a code merger might come from a conflict of purpose of event blocks.

@Taifun @ABG
here are the blocks of the aia file, i just added it in a separate screen in my projects so dunno why am getting that error above so lets check the blocks and let me know how can i make it worked as its working well separately but not working inside my projects despite of beingin a separate screen

Yes, this is your task
See again the debugging tips from my last post

When exactly does the error occur?
Just start to debug from the corresponding event

Taifun

i meant if you merged it in any project it will not work not just my project despite of working well separately, that what i meant, there is no issue in my project or in that project too

You are hiding the firebase errors

lets show me how can i make the firebase error

You have the FirebaseDB.FirebaseDBError enabled in your code. You presently do not link the message to display on a Label. When you do not set message to a Label, and do not use its message, you suppress any runtime errors from displaying. Essentially your app ignores any errors.

To view firebase's error messages you need to either disable the Block or set code in it's event handler to send the error to a Label.

If you disable the FirebaseDBError Block, . you should see a message from firebase like this one.

Alternatively you can show the message in a Label. (Set the message in the Block to display on a Label. (without disabling the Block))

HI @SteveJG
I added the firebase error message as you requested but still getting the same issue and while blocking it as well i got the same error

image

image

Search through your blocks for your blue 'list from csv row' blocks, one by one.
Use the Companion Do It feature to show what you are feeding it.
Pay particular attention to commas and quote marks.
Are the quote marks balanced?

the aia file i attached above working well separately but once adding it to my project, its showing the error above, i didn't change anything in the blocks i just copied all blocks to a screen in my project

image

well, something is different
is it something with Firebase? is it something else?
to find out what exactly, you have to debug the project

so what about answering the following question?

Then start to debug from the corresponding event

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun

Really I didn't change anything even didn't change anything in the firebase..let's try to merge the aia project above in any sample project do you have if it works well then the issue is in my project, but if it showed the same error then we can find out why is that error occured!

you are repeating yourself
start doing something now!
read again my previous answer and answer the question

Taifun

After adding the project immediately into my project...it never worked after adding it to my project getting the same error

without testing in the companion app? without starting the test in Screen1 and continuing to that new screen?

you named that screen find
this probably is not a good idea, because find might be a reserved word...
remove that screen again and use another screen name, for example ScreenFind

Taifun