Home > Back-end >  Check internet connectivity while the app is closed in flutter Android
Check internet connectivity while the app is closed in flutter Android

Time:03-04

I'm working on an app which stores data on servers, And the app is available offline too.

When user gets back online after being offline. I need to update servers with changes he done while being offline. Any workaround? I hear that after android O its not possible

CodePudding user response:

Check this package. You can check the network status using this plugin. It also have stream for network connection so, when your user becomes online you can trigger your task.

enter image description here

  • Related