Skip to content
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

feat: flush when online #889

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

camchis
Copy link

@camchis camchis commented Oct 13, 2023

Uses @react-native-community/netinfo package to check a user's network connection and only send events when they are online

Have made requested changes to @zikaari's PR

@camchis
Copy link
Author

camchis commented Oct 19, 2023

👋 @oscb @alanjcharles can't request a review from you guys :)

@@ -0,0 +1,25 @@
import NetInfo, { NetInfoState } from '@react-native-community/netinfo';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NetInfoState is unused

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, removed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants