IONIC3 app Exit App

Source: Internet
Author: User

Tag: str exits log and exit code commits this he

In IONIC3 packaged app, if you want to implement code to control the rollout of the application.

The following code is available on Android, but it is not supported on iOS. Because this does not apply to iOS apps, Apple does not allow applications to exit programmatically. He can do it through ios-objective-c, but such apps are not available on the App Store and will be rejected if you want to submit an audit on the App Store. Packaged as an iOS Apple app can only be turned off with home health or backstage.

 from ' Ionic-angular ' /*... */  class  testpage {   constructor (private  platform:platform,) {}   Close () {    this. Platform.exitapp ();    }}

IONIC3 app Exit App

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.