Latest 1.0.3
Homepage https://github.com/52inc/ReviewManager
License MIT
Platforms ios 9.0
Frameworks UIKit, StoreKit
Authors

A simple class to handle fallbacks from iOS 10.3’s review prompt and automatically forward them to the App Store if the prompt doesn’t show.

Including in your project

Cocoapods

pod 'ReviewManager'

Manually

Add the file "ReviewManager.swift" from the Source folder to your project and make sure you link against StoreKit.

Usage

Usage is very simple.

ReviewManager.shared.promptForReview(appId: "Your-app-store-id-here")

An example for the Apple Store app is:

ReviewManager.shared.promptForReview(appId: "375380948")

Behavior notes on iOS 10.3’s prompt

  1. On debug builds the iOS 10.3 prompt always shows
  2. It won’t show on TestFlight builds. (Should cause App Store fallback every time)
  3. There are rules as to when it will be shown to App Store users, and it can be disabled globally by a user (hence the need for fallback).

Behavior notes from the developer

  1. Please don’t use this to automatically prompt or send people to the App Store. It’s terribly user hostile. This was developed for if you need a "rate app" button in your app, and where the button not doing anything looks like a glitch.

Latest podspec

{
    "name": "ReviewManager",
    "version": "1.0.3",
    "summary": "A simple class to handle fallbacks from iOS 10.3's review prompt.",
    "description": "A simple class to handle fallbacks from iOS 10.3's review prompt and automatically forward them to the App Store if the review prompt doesn't show.",
    "homepage": "https://github.com/52inc/ReviewManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Brendan Lee": "[email protected]"
    },
    "source": {
        "git": "https://github.com/52inc/ReviewManager.git",
        "tag": "1.0.3"
    },
    "social_media_url": "https://twitter.com/52_inc",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Source/*.*",
    "frameworks": [
        "UIKit",
        "StoreKit"
    ],
    "xcconfig": {
        "SWIFT_VERSION": "3.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This