Internet problem

When the connection to the Internet is cut off, the application stops, and this actually succeeded. There is a problem when the mobile data is connected and the internet is absent, the application does not stop. Is there a solution?

Can you show your blocks? That will help us to understand your problem

What does this actually mean? Mobile data is avtive and internet is absent - please elaborate the line!

I mean, the phone data is working, but the line does not have an Internet subscription

Can you explain better?