All solutions found on this forum or on Google doesn’t seems to works:
=> ERROR in src/app/home/home.page.ts(69,5): error TS2304: Cannot find name ‘ionic’
=> ERROR in src/app/home/home.page.ts(71,10): error TS2339: Property ‘platform’ does not exist on type ‘HomePage’.
=> compilation OK, but in JS the navigator[‘app’] is undefined
I’ve also tried the plugin cordova-plugin-exit, but the author doesn’t known how this could works with Ionic v4
I need a solution that works from Android 5.0 please. Thanks for your help!