Comments (4)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from react-native-offline.
any update regarding this issue? or any workaround?
i am having an issue where if i have added some alerts to check if internet is working or not.
so when i launch the app with internet on… i get the alert that internet connected (working as intended)
when i turn off internet … gets the alert “you are offline” (working as intended)
but if i turn on internet again….nothing happens at all. after turning off internet once… it doesn’t update anymore.
from react-native-offline.
Hi! same issue here. We should be able to control the initial value of the hook, otherwise it is forcing us to add another function to determine what value "null" should be.
from react-native-offline.
I have just realized that it returns null only first time it is called. So if in your initial screen you just wait until the value is different than null then all is ok :)
from react-native-offline.
Related Issues (20)
- Many Retries HOT 2
- [Question] redux thunks is it necessary? HOT 2
- Still in active development ? HOT 4
- Upgrade Example App for current Expo Go version HOT 12
- Improve documentation HOT 2
- Problems with the connection in some devices HOT 5
- Actions from actionQueue are sometimes dispatched multiple times HOT 4
- TypeError: null is not an object (evaluating 'P.store') HOT 2
- [Question] Compatibility with RTK Query HOT 4
- Incompatible with react-redux v8 HOT 6
- Help Needed while re-starting/opening the app for POST type REST API with Redux Saga HOT 2
- useIsConnected not updating on Hermes enabled iOS non-debug build HOT 3
- www.google.com/sorry/index 405 HOT 2
- Intercept and queue actions after errors HOT 1
- Warning: Possible Unhandled Promise Rejection (id: 0)
- Can I set pingServerUrl in networkSaga by a health check API?
- Getting TypeError in a Promise reject
- Reorder in queue
- Custom headers are ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-offline.