diff --git a/README.md b/README.md index 1f03244..b8cbf20 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,22 @@ If your app is only avaiable for some coutnries, please add country code at Setu } ``` +## App ID + +Optional, you can set App ID explicitly. If not, SwiftRater will get App ID from appstore by bundle ID. + +``` + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + SwiftRater.daysUntilPrompt = 7 + SwiftRater.usesUntilPrompt = 10 + + SwiftRater.appID = "1104775712" + + SwiftRater.debugMode = true + SwiftRater.appLaunched() + return true + } +``` ## Demo You can find Demo app in this repo. diff --git a/SwiftRater.podspec b/SwiftRater.podspec index 1c8786c..557129c 100644 --- a/SwiftRater.podspec +++ b/SwiftRater.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SwiftRater' - s.version = '1.7.0' + s.version = '1.8.0' s.summary = 'A utility that reminds your iPhone app users to review the app written in pure Swift.' # This description is used to generate tags and improve search results.