Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mezhevikin/appreview

⭐️ A tiny library to request review on the AppStore. This is wrapper around native SKStoreReviewController.
https://github.com/mezhevikin/appreview

appreview appstore ios macos rate rating request review skstorereviewcontroller spm stars storekit swift swiftui wrapper

Last synced: 13 days ago
JSON representation

⭐️ A tiny library to request review on the AppStore. This is wrapper around native SKStoreReviewController.

Awesome Lists containing this project

README

        

# AppReview

⭐️ A tiny library to request review on the AppStore.

This is wrapper around native SKStoreReviewController.

### Review after 3 launches
```swift
AppReview.requestIf(launches: 3)
```

### Review after 5 days
```swift
AppReview.requestIf(days: 5)
```

### Review after 3 launches and 5 days
```swift
AppReview.requestIf(launches: 3, days: 5)
```

### Review after purchase
```swift
AppReview().requestIfNeeded()
```

### Using

You can call AppReview in
* SceneDelegate.sceneWillEnterForeground()
* AppDelegate.applicationDidFinishLaunching()
* ViewController.viewDidLoad()
* View.onAppear()

### Swift Package Manager

```
https://github.com/mezhevikin/AppReview.git
```

### CocoaPods

```
pod 'AppReview', :git => 'https://github.com/mezhevikin/AppReview.git'
```