@OmkarHLT wrote:
Hello Team Struggling to get the API working on android Device tried the below ways still no help.
Have my release in 2 days but stuck with this issue
Tried
- Updated the config.xml with allowed and access tags
- updated api to allow access from same origin
- Updated the cordova plugins nothing seems working
4, Added to index fileConfig.xmL
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" /> <access origin="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /
Index.html
<meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
Cnfiguration Details cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.4 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.0.0, (and 7 other plugins) System: NodeJS : v10.7.0 (C:\Program Files\nodejs\node.exe) npm : 5.3.0 OS : Windows 10 ionic (Ionic CLI) : 4.6.0 Ionic Framework : @ionic/angular 4.0.0-beta.7 @angular-devkit/build-angular : 0.7.5 @angular-devkit/schematics : 0.7.5 @angular/cli : 6.1.5 @ionic/angular-toolkit : not installed Error [Error screen](https://i.stack.imgur.com/kQGm5.png) Please Help
Posts: 1
Participants: 1