Latest 0.0.3
License MIT
Platforms ios 6.0, requires ARC
Dependencies BlocksKit, AFNetworking


Though you improved wonderfully your app, some users doesn’t upgrade your app and continue to use old version. That’s tragedy. SRGVersionUpdater can solve this problem. SRGVersionUpdater can show alert view about update infomation and force users to launch App Store and download new version app.

The installation is very simple and easy. On client side all you need is only to write a code in 3 lines. And Even if you don’t have knowledge in a server side programming, you can very easily setup if you have account of Dropbox, Google Drive or other hosting services.




1. Upload a JSON file

Upload a JSON file below. It is OK to upload to public folder of Dropbox, GoogleDrive, or other free hosting services.
Example JSON file

key define
required_version The version string of latest client application.
type The type of update, "force" or "optional".
update_url The App store URL of your app.

How to Host files with GoogleDrive

How to Host files with dropbox

2. Install SRGVersionUpdater

Install SRGVersionUpdater to your project with CocoaPods by adding the following to your Podfile:

pod 'SRGVersionUpdater', "0.0.3"

At last, Open up the AppDelegate.m and edit application:didFinishLaunchingWithOptions: to be like so:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

    SRGVersionUpdater *versionUpdater = [SRGVersionUpdater new];
    versionUpdater.endPointUrl = @"http://xxxxxxxxxxxxx";
    [versionUpdater executeVersionCheck];

    return YES;

Input URL of the JSON file uploaded by previous step in endPointUrl.


There are Bandwidth Limits in Dropbox. If your app have huge number of access per day, it is better to change account plan, or use other hosting services.

Dropbox Help Center : Why were my links banned?


Licensed under the MIT License

Latest podspec

    "name": "SRGVersionUpdater",
    "version": "0.0.3",
    "summary": "SRGVersionUpdater inform users about new app version release, and can force users update app to version. ",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Kazuhiro Sakamoto": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.0.3"
    "platforms": {
        "ios": "6.0"
    "source_files": [
    "resources": "SRGVersionUpdater.bundle",
    "requires_arc": true,
    "dependencies": {
        "BlocksKit": [],
        "AFNetworking": []

Pin It on Pinterest

Share This