Skip to content

app-updater is a swift iOS library. It checks the latest available version of your app on the App Store and notifies the user to update the app.

License

Notifications You must be signed in to change notification settings

akhalaf/app-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

app-updater

app-updater is a swift iOS library. It checks the latest available version of your app on the App Store and notifies the user to update the app.

Why should I use it?

Just imagine adding ONE LINE OF CODE to keep all your users up to date of your latest updates. This accelerates the adoption of your latest version as soon as it's released. Isn't that great? ;)

Features

  • Simple.
  • Fast.
  • Redirect user to the App Store.
  • Force the update or just display a reminder.
  • Localizable, and new languages can be added.

Show Update Reminder

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    AppUpdater.showUpdateMessage()
    return true
}

alt tag

Force User To Update

func applicationDidBecomeActive(application: UIApplication) {
    AppUpdater.forceUpdate()
}

alt tag

*Note: This method should be called from applicationDidBecomeActive(application:) to show the update message every time the user tries to re-open the app.

Installation

  • Copy AppUpdater folder into your project, and remember to choose Create Groups for added folders.
  • Link SystemConfiguration.framework.

Localization

  • English - base.
  • Arabic.
  • Spanish.

Credits

This project was originally inspired by ATAppUpdater.

License

app-updater is released under the MIT license. See LICENSE for details.

About

app-updater is a swift iOS library. It checks the latest available version of your app on the App Store and notifies the user to update the app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages