Cordova iOS Upgrade Plugin

Source: Internet
Author: User

Org.ssgroup.sope.cordova.upgrade


Support for forced upgrades and select upgrades

Plugin already open source in Https://github.com/shenshouer/org.ssgroup.sope.cordova.upgrade

The new version number has been updated but has not yet been submitted to GitHub



This plugin is a Cordova iOS version number plug-in, the user checks some information about the local app and checks to see if there is a new version number from the App Store, and prompts for updates

Installation
cordova plugin add https://github.com/shenshouer/org.ssgroup.sope.cordova.upgrade改动org.ssgroup.sope.cordova.upgrade/src/ios/CDVUpgrade.m中:// 改动成你自己app的信息self.appInfoUrl = @"http://itunes.apple.com/cn/lookup?id=284910350";self.appUpgradeUrl = @"http://itunes.apple.com/cn/lookup?

id=284910350";

Interface
somai.upgrade.getappname (Successhandler, ErrorHandler); Somai.upgrade.getPackageName ( Successhandler, ErrorHandler); Somai.upgrade.getVersionNumber (Successhandler, ErrorHandler); Somai.upgrade.getVersionCode (Successhandler, ErrorHandler);//Control the current version number from the App store. And pop-up prompts to update Somai.upgrade.checkUpgrade (Successhandler, ErrorHandler);  

# # Examples of sample references

https://github.com/shenshouer/upgradeTest1

Cordova iOS Upgrade Plugin

Related Article

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.