an application using Ionic v3, when the state of the platform is switched to pause (the application is minimized or the camera is activated), the application is destroyed.
Android studio log (the camera is activated):
D / CordovaActivity: Paused the activity.
I / chromium: [INFO: CONSOLE (38630)] "platform.pause-> event {" isTrusted ": false}", source: file: ///android_asset/www/build/main.js (38630)
D / CordovaActivity: Stopped the activity.
W / ManagedEGLContext: doTerminate failed: EGL count is 3 but managed count is 1
W / ManagedEGLContext: doTerminate failed: EGL count is 3 but managed count is 1
W / IInputConnectionWrapper: showStatusIcon on inactive InputConnection
Application terminated.