hello everyone,
i am using below blocks to detect if internet is connected or not
but when i try apk in mobile without internet connection my application opens for 2 seconds and crashes and i see application crashed error. but when i try to open the app with internet connection everything is working as expected. so i think the problem is in component because it should show the message dialog which is not showing or am i doing something wrong ?
can you guys try this create a normal sample apk and use a component which require internet and then use apk in real device without connection does your app crashes or not. i want to know
(do not use network component i want to know the app behaviour without that)
then try simple if u want while running application use network component when network disconnect then show custom dialog . when network connect open screen again 1,2,3 .