How to avoid showing firebase json URL while mobile network getting offline

There is no any similar questions in community.

if mobile network suddenly turned off while fetching data from firebase json url using web component, there is a show alert appear with firebase json url. Please solve this issue.

please find the attachment.

you can’t disable that

1 Like

Then any user can see my database if they struck in this situation

Try to catch error by using on error occured block. If error number is 1101 then…See if it works for you



Try to clear your firebase url from this image… Also you can use one if block upon clicking button to call for firebase


If this is true then you can call the data, if not add any alert


Thanks @dora_paz it worked perfectly.

Thanks @Still-learning for your suggestion.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.