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))