-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
How to handle "Network Aware" for web too along with mobile? #100
Comments
Hi there, In my experience there won't be much difference. what exactly are you struggling with setting up for both? |
Hello, |
@pallavbohara sounds like an option. the constant kIsWeb tells you if it's running on web or not. You can use that for your logic. |
Hello,
But It is always picking Offline code. I am attacing whole project zip in case you need. |
Sorry, I have mistakenly created a new issue. |
That's the constant I used, maybe if changed. there's other ways to check for web as well. I don't have it on hand right now. |
Hello FilledStacks Team,
I really love your tutorials. While following tutorial for network connectivity I found that connectivity plugin is not returning correct values for web I also tried to add connectivity_for_web. Although web is offline always. But I cannot setup for both in single code base. Please guide to do so.
Regards,
Pallav Bohara
The text was updated successfully, but these errors were encountered: