Latest 1.0.1
Homepage https://github.com/tenric/MJVersionUpdate
License MIT
Platforms ios 8.0, requires ARC
Authors

Check and update app’s version for both AppStore & Fir

How to use

1.Add Channel in info.plist

Now we only support two channels "AppStore" or "Fir", no channel or other channel are ignored.
demo1

2.Include library use CocoaPods
pod 'MJVersionUpdate', '~> 1.0.0'
3.Call this when app launch
MJVersionUpdate *versionUpdate = [MJVersionUpdate new];
[versionUpdate addAppStoreChannelWithAppId:@"1114716391"];
[versionUpdate addFirChannelWithAppId:@"5721b76e748aac3e6b000017" token:@"5e1272271c5f28a11c60ebd761203a9c" downloadUrl:@"http://fir.im/yanzheng"];
[versionUpdate checkUpdate];
4.If there has new version,just show alert which you can ignore or go to update.

demo2

Latest podspec

{
    "name": "MJVersionUpdate",
    "version": "1.0.1",
    "summary": "Check and update app's version for both AppStore & Fir.",
    "homepage": "https://github.com/tenric/MJVersionUpdate",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "tenric": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/tenric/MJVersionUpdate.git",
        "tag": "1.0.1"
    },
    "source_files": "MJVersionUpdate/*",
    "requires_arc": true
}

Pin It on Pinterest

Share This