All Projects → SimformSolutionsPvtLtd → SSAppUpdater

SimformSolutionsPvtLtd / SSAppUpdater

Licence: MIT license
SSAppUpdater is an open-source framework that compares the current version of the app with the store version and returns the essential details of it like app URL, new app version number, new release note, etc. So you can either redirect or notify the user to update their app.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to SSAppUpdater

Checkversionlib
版本检测升级(更新)库。an auto check version library(app update) on Android
Stars: ✭ 2,546 (+4289.66%)
Mutual labels:  update, version, appupdate
BetterMappable
Better Mappable through Property Wrappers using ObjectMapper
Stars: ✭ 26 (-55.17%)
Mutual labels:  carthage, swift5, swiftpackagemanager
Harpy
Harpy checks a user's currently installed version of your iOS app against the version that is currently available in the App Store. If a new version is available, an alert can be presented to the user informing them of the newer version, and giving them the option to update the application.
Stars: ✭ 2,619 (+4415.52%)
Mutual labels:  carthage, update
UberCarAnimation
This app is for animating a car like uber from one position to another with preserving angle and smooth animation
Stars: ✭ 53 (-8.62%)
Mutual labels:  ios-app, swift5
SSCustomPullToRefresh
SSCustomPullToRefresh is an open-source library that uses UIKit to add an animation to the pull to refresh view in a UITableView and UICollectionView.
Stars: ✭ 62 (+6.9%)
Mutual labels:  carthage, swiftpackagemanager
Bettersegmentedcontrol
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Stars: ✭ 1,782 (+2972.41%)
Mutual labels:  carthage, swift5
Bmplayer
A video player for iOS, based on AVPlayer, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
Stars: ✭ 1,736 (+2893.1%)
Mutual labels:  carthage, swift5
MADBike
This is the public repository of the MADBike app for iOS. Public bike rental service for BiciMAD.
Stars: ✭ 23 (-60.34%)
Mutual labels:  ios-app, appstore
SwiftGradients
Useful extensions for UIViews and CALayer classes to add beautiful color gradients.
Stars: ✭ 15 (-74.14%)
Mutual labels:  carthage, swift5
Pulse
❤️ A heart rate camera pulse detector written in Swift.
Stars: ✭ 53 (-8.62%)
Mutual labels:  ios-app, swift5
iOSProjects
It's project that contains different applications developed with Swift 5.7 👨‍💻👩🏼‍💻🧑🏿‍💻
Stars: ✭ 122 (+110.34%)
Mutual labels:  carthage, ios-app
LongWeekend-iOS
🏖📱 LongWeekend is iOS Application that supports checking long weekends when taking a vacation in Japan
Stars: ✭ 19 (-67.24%)
Mutual labels:  ios-app, swift5
Avsqldebugger
A Simple Core Data Debugger that will look inside your apps DB
Stars: ✭ 30 (-48.28%)
Mutual labels:  carthage, ios-app
Hippolyte
HTTP Stubbing in Swift
Stars: ✭ 109 (+87.93%)
Mutual labels:  carthage, swift5
Inapppurchase
A Simple and Lightweight framework for In App Purchase
Stars: ✭ 202 (+248.28%)
Mutual labels:  carthage, appstore
Keepwords
📱🔐 Need an iOS password managing app with no pods? We got you covered!
Stars: ✭ 17 (-70.69%)
Mutual labels:  ios-app, swift5
Android Prince Of Versions
Android library for handling application updates.
Stars: ✭ 94 (+62.07%)
Mutual labels:  update, version
bump
A generic version tracking and update tool
Stars: ✭ 33 (-43.1%)
Mutual labels:  update, version
MacOS-All-In-One-Update-Script
Mac update shell script (Appstore, macOS, Homebrew and others)
Stars: ✭ 39 (-32.76%)
Mutual labels:  update, appstore
Harbour
Docker/Portainer management app for iOS
Stars: ✭ 210 (+262.07%)
Mutual labels:  ios-app, swift5

SSAppUpdater

SSAppUpdater is an open-source framework that compares the current version of the app with the store version and returns the essential details of it like app URL, new app version number, new release note, etc. So you can either redirect or notify the user to update their app.

Swift Version License Carthage Compatible SwiftPM Compatible Platform PRs Welcome

Screenshots

Update Type

Force Update Optional Update Skip Version
Alt text Alt text Alt text

Features!

  • Check for new version of your installed application
  • Provides new version release note
  • Provides AppID and AppStore URL
  • CocoaPods

Requirements

  • iOS 10.0+
  • Xcode 9+

Installation

CocoaPods

  • You can use CocoaPods to install SSAppUpdater by adding it to your Podfile:

     use_frameworks!
     pod 'SSAppUpdater'
    
  • import SSAppUpdater

Manually

  • Download and drop SSAppUpdater folder in your project.
  • Congratulations!

Swift Package Manager

  • When using Xcode 11 or later, you can install SSAppUpdater by going to your Project settings > Swift Packages and add the repository by providing the GitHub URL. Alternatively, you can go to File > Swift Packages > Add Package Dependencies...
dependencies: [
    .package(url: "https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git", from: "1.1.0")
]

Carthage

  • Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage

To integrate SSAppUpdater into your Xcode project using Carthage, add the following line to your Cartfile:

github ""SimformSolutionsPvtLtd/SSAppUpdater""

Run carthage to build and drag the SSAppUpdater(Sources/SSAppUpdater) into your Xcode project.

How It Works

  • SSAppUpdater compares the currently installed version of your iOS app with the new store version that is currently available in the App Store. When an update is available, SSAppUpdater is able to present the new version number, Appstore URL, App ID, and release notes to the user giving them the choice to update.

  • How does SSAppUpdater achieve this? Firstly, it makes use of the iTunes Search API to retrieve the information.

     isForceUpdate: false           
     updateAlertFrequency: .always   
     showDefaultAlert: true         
    
  • Along with this, the isForceUpdate Boolean value checks that the user wants to force update or not.

  • Using the updateAlertFrequency, the user can choose alert display time. default value will be .always. Alternative values of this property are daily,weekly and monthly.

  • The SSAppUpdater allow developers to create a custom UI if needed. showDefaultAlert Boolean value checks that the user wants to show default Alert or Custom UI.

Usage example

Implementation

  • Implementing SSAppUpdater quite easy just add two line code in your AppDelegate.swift or anywhere in your app you need. (The block will return the version information)

AppDelegate.swift Example

import SSAppUpdater
import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
        window?.makeKeyAndVisible()

        //defaultExample
        SSAppUpdater.shared.performCheck { (versionInfo) in
            // Version Info have all the app update releated information
            // Display AppUpdate UI based on versionInfo.isAppUpdateAvailable flag
        }
        
        //customExample
        SSAppUpdater.shared.performCheck(isForceUpdate: false, updateAlertFrequency: .always, showDefaultAlert: true) { (versionInfo) in
           // Version Info have all the app update releated information
        }
    }
}

Inspired

  • SSAppUpdater inspired from Siren
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].