Android app crashes, when it switch to background (open camera, for example). I try every thing from World wide - but cant resolve problem. Please help me (3 days from start this hell)
https://github.com/timkovik/postsrvs/tree/broken - this is repo with current code
Crash log:
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4152)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4201)
at android.app.ActivityThread.-wrap24(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:173)
at android.app.ActivityThread.main(ActivityThread.java:6698)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Caused by: java.lang.IllegalStateException
at com.google.android.libraries.maps.ij.zzae.zzb(Preconditions.java:29)
at com.google.android.libraries.maps.ke.zzae.zze(MapRendererPhoenix.java:253)
at com.google.android.libraries.maps.ka.zzba.zzC(GoogleMapImpl.java:310)
at com.google.android.libraries.maps.ka.zzcw.zzh(MapViewDelegateImpl.java:16)
at com.google.android.libraries.maps.MapView$zza.onStop(MapView.java:18)
at com.google.android.gms.dynamic.DeferredLifecycleHelper.onStop(Unknown Source:4)
at com.google.android.libraries.maps.MapView.onStop(MapView.java:39)
at plugin.google.maps.PluginMap.onStop(PluginMap.java:524)
at org.apache.cordova.PluginManager.onStop(PluginManager.java:286)
at org.apache.cordova.CordovaWebViewImpl.handleStop(CordovaWebViewImpl.java:491)
at org.apache.cordova.CordovaActivity.onStop(CordovaActivity.java:291)
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1375)
at android.app.Activity.performStop(Activity.java:7215)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4149)
... 9 more
Ionic info:
Ionic:
Ionic CLI : 6.11.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.3.1
@angular-devkit/build-angular : 0.1000.5
@angular-devkit/schematics : 10.0.5
@angular/cli : 10.0.5
@ionic/angular-toolkit : 2.3.0
Cordova:
Cordova CLI : 10.0.0
Cordova Platforms : 6.0.0, android 9.0.0, browser
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 21 other plugins)
Utility:
cordova-res : not installed
native-run : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Users/timkovik/Library/Android/sdk)
ios-sim : 8.0.2
NodeJS : v12.16.1 (/usr/local/bin/node)
npm : 6.14.7
OS : macOS Catalina
Xcode : Xcode 11.6 Build version 11E708