Latest 1.0.2
Homepage https://github.com/tenric/VersionUpdate
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 'VersionUpdate', '~> 1.0.2'
3.Call this when app launch
let versionUpdate = VersionUpdate()
versionUpdate.addAppStoreChannelWithAppId("your app id on appstore")
versionUpdate.addFirChannelWithAppId("your app id on fir", token: "your koken on fir", downloadUrl: "http://fir.im/xxxxxx")
versionUpdate.checkUpdate()
4.If there has new version,just show alert which you can ignore or go to update.

demo2

Latest podspec

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

Pin It on Pinterest

Share This