my ionic info is and plugins used are:
cli packages: (C:\Users\DELL\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : android 6.2.3
Ionic Framework : ionic-angular 3.6.1
System:
Node : v6.11.3
npm : 5.4.2
OS : Windows 8.1
Misc:
backend : legacy
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.2 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
ionic-plugin-keyboard 2.2.1 “Keyboard”
help me to reduce the loading time
am testing on moto x play with 7.1.1 android version with 2GB RAM
are you using --prod with build?
thanks for the reply mate
i used --prod with this
Try to put this on the second line of your main.ts file
import { enableProdMode } from ‘@angular /core’;
then before the bootstrap line put
enableProdMode();
also when building use --prod so ionic build android --prod
but no change in loading
i forgot to include this
i used
<preference name=“loadUrlTimeoutValue” value=“700000” /
this in my config.xml to overcome this error
Yet again this problem, I know.
Launching the app on android gives an “application error. The connection to the server was unsuccessful”.
Many topics on this subjects, all pointing out to potential js or css using external link.
However, I have absolutely no file using external link in my code, and mostly not in my index.html
The strangest part is that this problem suddenly happened to all my android users last night for no reason at all. The same build that has been working for weeks suddd…
bro i am now facing the same issue did u solved it ?
in debug mode of chrome -> in network tab -> cordova_plugin.js is pending for 40seconds and then it loads and login page loads
For me I resolved it by adding ionic elements on the rootpage like < ion-grid >< ion-input > instead of < div >< input />.
This is weird by my case resolved with the above solution.
Also i got issue in ionic 2 I never faced this issue with ionic 3+