Hi,
I try to use my app on my Samsung Galaxy S9 and i think it doesn’t have internet access. My first try was with my local ip address and then with an ngrok server.
I install the cordova-plugin-whitelist
, and add the allow-navigation
things, but nothing change.
I run my app in my phone by USB with ionic cordova run android --device
but I don’t think it changes anything
package.json :
"dependencies": {
"@angular/common": "~8.2.14",
"@angular/core": "~8.2.14",
"@angular/forms": "~8.2.14",
"@angular/platform-browser": "~8.2.14",
"@angular/platform-browser-dynamic": "~8.2.14",
"@angular/router": "~8.2.14",
"@babel/compat-data": "^7.8.0",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.0.0",
"cordova-android": "8.1.0",
"cordova-ios": "5.1.1"
},
...
"devDependencies": {
...
"cordova-plugin-whitelist": "^1.3.3",
...
},
and in my config.xml :
...
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" />
<allow-navigation href="data:*" />
...
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
<engine name="ios" spec="5.1.1" />
<engine name="android" spec="^8.1.0" />
If someone can help me …
Ty