Comments (3)
Thanks for the request. I added something to our internal issue tracker for prioritization. I'll leave it open as an enhancement request as it would be a good thing to have.
Thanks for trying the plugin!
from cordova-plugin-remote-injection.
Are you on iPhone or Android? It's been a while since I messed with this but but I don't think putting the phone in airplane mode triggers the functionality. Adding a notification to tell the user that the app requires a connection would be a good enhancement.
The current functionality is triggered if a request was successfully made and the server is taking too long to respond. The way I tested it was using a proxy, like Charles, and setting the connection speed to be so slow that it took longer than the 10 second timeout.
from cordova-plugin-remote-injection.
I am testing on Android, on a physical device (Nexus 5, Android 6).
Ok, I understand that it tests the loading time, and that if the loading doesn't start, it won't work.
As you say, it would be great to have a functionnality that also prompt the user if there is no internet connection.
from cordova-plugin-remote-injection.
Related Issues (20)
- Roadmap HOT 2
- CRIInjectFirstFiles issue HOT 2
- How to open a URL by using this plugin HOT 1
- CRIInjectFirstFiles is not working on IOS with multiple files list HOT 4
- Whats the difference from cordova-plugin-hostedwebapp? HOT 5
- Inject cordova before page load HOT 2
- Problem accessing PhoneGap APIs from remote JS HOT 5
- cordova injected multiple times HOT 7
- android.view.WindowManager$BadTokenException crashes HOT 9
- does this still work with Ios? HOT 3
- There's a crash on iOS HOT 1
- Issues with custom url scheme
- How do I inject and use cordova plugins ?
- UIAlertView Deprecation since iOS9
- Does not work when following links HOT 1
- Not working on iOS 10+ and Cordova 8.0.0 HOT 3
- navigator.splashscreen not defined HOT 4
- injection not working ! HOT 1
- How can use this plugin for Ionic App ? HOT 1
- UIWebView issue HOT 8
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 cordova-plugin-remote-injection.