framework7

Open full view…

How to Close/Exit your app

corblimey
Fri, 11 Aug 2017 22:55:16 GMT

How can we exit our app when user clicks a link in your app?? Eventually, ill put an 'Exit' link or button in the device menu (which i know won't work until compiled) However for now i just want to trigger the exit of the app when user clicks a button or link. Is it possible??? NOTE: i dont want to do this by user clicking the back-key since i already have this triggering 'back' in history functionality.

gabrielpotumati
Thu, 17 Aug 2017 02:18:06 GMT

Use cordova commands to build

shaikhmubeen
Sun, 20 Aug 2017 13:31:22 GMT

Use --- navigator.app.exitApp(); ---