Coder Social home page Coder Social logo

Comments (4)

stale avatar stale commented on August 16, 2024

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.

nitesh-habilelabs avatar nitesh-habilelabs commented on August 16, 2024

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.

dabit1 avatar dabit1 commented on August 16, 2024

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.

dabit1 avatar dabit1 commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.