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

image

4 Likes

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

image

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

3 Likes

Thanks @dora_paz it worked perfectly.

Thanks @Still-learning for your suggestion.

2 Likes

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