AppStoreVersionDetector

CI Status Version License Platform

Detects the app version from AppStore.

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, [email protected]

License

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

GitHub

View Github