@ctfrancia wrote:
I have been spending 2 days on this and it’s killing my will to live. I didn’t add anything different to my code or add a new plugin, I have been scouring online for answers or things to try but I can’t find any solution that fits. after the application launches to my device. it gets to the home screen, I can navigate briefly with no signs of problems but then after about 5 seconds it just inexplicably closes. While having the debug console up of Safari everything shows it launching fine and starting fine. I receive an https response with no errors and then it just closes. there is no error shows before closing it just closes.
here is my ionic info.I’ve tried removing and adding the platform, cleaning node modules installing again, removing any plugins not being used and check if any of the plugins are old
Ionic CLI : 6.4.0 (/Users/christianfrancia/.config/yarn/global/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.0.7 @angular-devkit/build-angular : 0.803.24 @angular-devkit/schematics : 8.3.26 @angular/cli : 8.3.26 @ionic/angular-toolkit : 2.2.0 Cordova: Cordova CLI : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 8.1.0, ios 5.1.1 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 15 other plugins) Utility: cordova-res (update available: 0.11.0) : 0.9.0 native-run : 0.3.0 System: Android SDK Tools : 26.1.1 (/Users/christianfrancia/Library/Android/sdk) ios-deploy : 1.10.0 ios-sim : 8.0.2 NodeJS : v13.11.0 (/usr/local/Cellar/node/13.11.0/bin/node) npm : 6.13.7 OS : macOS Mojave Xcode : Xcode 11.3.1 Build version 11C504
here is the list of plugins
com-badrit-base64 0.2.0 "Base64" com-sarriaroman-photoviewer 1.2.4 "PhotoViewer" cordova-android-support-gradle-release 2.1.0 "cordova-android-support-gradle-release" cordova-plugin-android-permissions 1.0.0 "Permissions" cordova-plugin-camera 4.1.0 "Camera" cordova-plugin-device 2.0.3 "Device" cordova-plugin-file 6.0.2 "File" cordova-plugin-inappbrowser 3.2.0 "InAppBrowser" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview" cordova-plugin-media 5.0.3 "Media" cordova-plugin-media-capture 3.0.3 "Capture" cordova-plugin-splashscreen 5.0.3 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-plugin-x-socialsharing 5.6.3 "SocialSharing" cordova-sqlite-storage 3.2.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version" cordova.plugins.diagnostic 4.0.12 "Diagnostic" es6-promise-plugin 4.2.2 "Promise" onesignal-cordova-plugin 2.8.4 "OneSignal Push Notifications"
here is my config.xml
<?xml version='1.0' encoding='utf-8'?> <widget id="test.test.app" version="2.7.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>TEST</name> <description>description</description> <author email="test@test.com" href="test">DICUS</author> <content src="index.html" /> <access origin="*" /> <allow-navigation href="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <preference name="ScrollEnabled" value="false" /> <preference name="android-minSdkVersion" value="19" /> <preference name="BackupWebStorage" value="none" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="FadeSplashScreenDuration" value="300" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="3000" /> <preference name="WKWebViewOnly" value="true" /> <platform name="ios"> // all the icon heights etc... </platform> <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-keyboard" spec="^2.0.5" /> <allow-navigation href="http://192.168.1.41:8101" sessionid="08d8b3b9" /> <plugin name="cordova-plugin-android-permissions" spec="1.0.0" /> <plugin name="cordova.plugins.diagnostic" spec="4.0.12"> <variable name="ANDROID_SUPPORT_VERSION" value="28.+" /> </plugin> <plugin name="cordova-android-support-gradle-release" spec="^2.1.0"> <variable name="ANDROID_SUPPORT_VERSION" value="27.+" /> </plugin> <plugin name="cordova-plugin-whitelist" spec="^1.3.3" /> <allow-navigation href="http://192.168.1.38:8100" sessionid="037b298a" /> <plugin name="cordova-sqlite-storage" spec="3.2.0" /> <allow-navigation href="http://localhost:8100" sessionid="52ec23e8" /> </widget>
thanks for any information or help with this issue.
Posts: 1
Participants: 1