how can i exit my app when it doesnt find internet? I want it to show the user a dialog box "No internet conncetion", and a ok button when pressed, it closes the app. Thanks
this.platform.exitApp()
seems to be removed from ionic version 4.
Try:
navigator['app'].exitApp();
p.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With