Ionic-platform-exitapp-is-not-working-in-ios

I am trying to send the app to backgroud / close the app (either of
them) using ionic.Platform.exitApp(). This works in Android but doesnt
work in iOS. Please advise URGENTLY.

This goes against the Apple guideline, exiting the app via code on iOS will result in an instant app rejection when submitted for review.

I would advise to route it to a blocked (or login whatever) page in your iOS app (e.g. blocked.html) and place a button in there to go back to square one if the user changes their mind.

1 Like