I’m having an intermittent problem with my Ionic 6/capacitor app on Android that I can’t quite track down. I’m hoping someone else had seen this issue and has a suggestion. Occasionally, when I start the app, I get a white page with a strange Android-like icon and then nothing else happens.
Here’s some relevant info about my app setup
Ionic:
Ionic CLI : 6.20.8 (/Users/abc/.nvm/versions/node/v16.14.2/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.5.3
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 14.2.9
@angular/cli : 14.2.9
@ionic/angular-toolkit : 7.0.0
Capacitor:
Capacitor CLI : 4.6.3
@capacitor/android : 4.6.3
@capacitor/core : 4.6.3
@capacitor/ios : 4.6.3
I have the following Capacitor plugins installed
@capacitor-community/barcode-scanner@3.0.0
@capacitor/app@4.1.1
@capacitor/app-launcher@4.1.0
@capacitor/device@4.1.0
@capacitor/dialog@4.1.0
@capacitor/filesystem@4.1.4
@capacitor/geolocation@4.1.0
@capacitor/haptics@4.1.0
@capacitor/keyboard@4.1.1
@capacitor/network@4.1.0
@capacitor/preferences@4.0.2
@capacitor/splash-screen@4.1.4
@capacitor/toast@4.1.0
I’m not sure if this is an Android issue, Ionic issue, or Capacitor plugin issue. I’m assuming that it’s a startup problem, but not sure what might be failing. I have only seen this previously during development when trying to start the app from Android Studio and the device screen was off, but now a user has reported this issue from the production app. Has anyone seen this type of issue before?