Cannot exit app with ionic2 on iOS? Is there a way to exit app?

Viewed 3234

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')
1 Answers
Related