Skip to content

chenxing640/AppStoreVersionDetector

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

AppStoreVersionDetector

Detects the app version from AppStore.

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

AppStoreVersionDetector is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AppStoreVersionDetector'

Usage

  • Detect the app version
AppStoreVDetector.default.onDetect(id: "15674646463", delayToExecute: 5) { result in
    switch result {
    case .success(let hasNew):
        print("hasNew: \(hasNew)")
        break
    case .failure(let message):
        print("message: \(message)")
        break
    }
}
  • Goto AppStore
AppStoreVDetector.gotoAppStore(id: "15674646463")

Author

chenxing, chenxing640@foxmail.com

License

AppStoreVersionDetector is available under the MIT license. See the LICENSE file for more info.

About

Detects the app version from AppStore.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published