-
Notifications
You must be signed in to change notification settings - Fork 596
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
Network #8
Conversation
Co-authored-by: Dan Imhoff <[email protected]>
network/android/src/main/java/com/capacitorjs/plugins/network/Network.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
My only concern are the iOS tests. It tests that the connection is wifi, so it fails if run locally without internet connection.
I guess it won't fail on the CI since it needs to have connection to work and on simulators the connection is always wifi.
I guess we can delete or change them in the future if something changes, and we should have in mind that when testing locally we have to be connected or they will fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made some minor code suggestions on web code
Co-authored-by: jcesarmobile <[email protected]>
Co-authored-by: jcesarmobile <[email protected]>
Co-authored-by: jcesarmobile <[email protected]>
Co-authored-by: jcesarmobile <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
But @dwieeb, can you review the web.ts
as it uses declare var window: any;
and you told Carl in another PR to not use something similar?
Co-authored-by: Dan Imhoff <[email protected]>
Work in progress