SRGVersionUpdater
SRGVersionUpdater can show alert view about app update infomation and force users to download new version app.
Install / Use
/learn @kazu0620/SRGVersionUpdaterREADME
SRGVersionUpdater
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.
##Screenshot

##Usage
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
{"required_version":"2.0.0","type":"force","update_url":"https://itunes.apple.com/jp/app/idxxxxxxxxxx?mt="}
| 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.
####Notice: 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?
License
Licensed under the MIT License
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
