Skip to content

A simple platform for prompting users to write reviews

License

Notifications You must be signed in to change notification settings

Moballo-LLC/MOBReview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOBReview

A simple platform for prompting users to write reviews


Import with CocoaPods

  use_frameworks!
  pod 'MOBReview'

Initialization and Setup

AppDelegate.swift

At the top of the file

import MOBReview

Inside of "application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool"

MOBReview.incrementOpen()

ViewController.swift

Inside of "viewDidLoad"

if MOBReview.shouldAsk(cutoff: 20) {
  MOBReview.promptReview(appID: APPLE_APP_ID, appName: APP_NAME, closure: (() -> Swift.Void)?)
}

Easy as pie! Enjoy!