hi every one;
finally i could build an apk of my app from android studio,
i installed it successfully on my phone but whenever i try to open the app, after 4 or 5 seconds white screen it sticks to splash screen of moodle (not my own splash screen) and stays there until i close the program
do you have any idea?
thanks for your response
i didn't see this tool before but as i understand it is just for webapp?
but my problem isn't that cause when i run ionic serve it goes completely right just when i run the app itself in my iphone i have this problem now:
white screen then splash screen then white screen again, then white screen again and then a message :unfortunately moodle has stopped.
i watched the logcat IMO the most important error was this line:
07-26 09:14:19.941 22894-22894/com.moodle.moodlemobile E/ViewRootImpl: sendUserActionEvent() mView == null
sendUserActionEvent() mView == null
do you have any idea?
and about the cordova plugins i ran npm install and cordova prepare in pre settings so i think they should be installed , this my cordova plugins list:
com-darryncampbell-cordova-plugin-intent 1.0.4 "Intent Shim"
cordova-clipboard 1.1.0 "Clipboard"
cordova-plugin-app-event 1.2.1 "Application Events"
cordova-plugin-badge 0.8.7 "Badge"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-customurlscheme 4.3.0 "Custom URL scheme"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-opener2 2.0.19 "File Opener2"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-globalization 1.0.7 "Globalization"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-local-notifications-mm 1.0.10 "LocalNotification"
cordova-plugin-media-capture 1.4.3 "Capture"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-plugin-zip 3.1.0 "cordova-plugin-zip"
cordova-sqlite-evcore-extbuild-free 0.9.7 "Cordova sqlite storage - free enterprise version with Android performance/memory improvements and extra features for PhoneGap Build"
ionic-plugin-keyboard 2.2.1 "Keyboard"
nl.kingsquare.cordova.background-audio 1.0.1 "background-audio"
phonegap-plugin-push 1.9.2 "PushPlugin"
and for your more information when i run
ionic cordova run android i get such a error at the end:
Error: spawn EACCES
[ERROR] An error occurred while running cordova run android (exit code 1).
Process: com.moodle.moodlemobile, PID: 21415
java.lang.IllegalAccessError: Method 'void android.support.v4.content.ContextCompat.<init>()' is inaccessible to class 'com.google.android.gms.iid.zzd' (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/com.moodle.moodlemobile-1/base.apk)