I've build an Ionic2 app and using
this.platform.exitApp()
in app.component.ts to exit app.
On Android it's work well, but got this error on iOS
undefined is not an object (evaluating 'e.navigator.app.exitApp')
I've build an Ionic2 app and using
this.platform.exitApp()
in app.component.ts to exit app.
On Android it's work well, but got this error on iOS
undefined is not an object (evaluating 'e.navigator.app.exitApp')