-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only execute job when network is available #55
Comments
Hi, did you able to find any solution ? |
No, but I am still interested in an solution! |
I think we can actually implement that in library but sadly author is not responding at all. |
I've been trying to implement this functionality using @react-native-community/netinfo. I'll let you know if I get this done. |
You can impliment this outside of the library. Add a NetInfo listener and start / stop the queue on network state change. |
@vishgoel007 I don't know rxjs, but you can use either NetInfo directly or react-native-offline. |
Hey!
Do we have a mechanism to only execute jobs once there is network connectivity? Which also means keeping jobs in the queue as long as the network is unavailable.
I wasn't able to find something from a quick look.
If not, can you point me where I could start implementing @billmalarky
Thank you so much!
The text was updated successfully, but these errors were encountered: