Swiftpack.co - Jinya/AppStoreReviewManager as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Jinya.
Jinya/AppStoreReviewManager 0.0.4
Just one line of code to open App Store review page for your app.
⭐️ 3
🕓 1 week ago
iOS
.package(url: "https://github.com/Jinya/AppStoreReviewManager.git", from: "0.0.4")

AppStoreReviewManager

An easy way to access reviews for your app instead of writing repetitive and redundant codes for every app.

Requirements

iOS 9.0+, Swift 5.5+

Installation

Swift Package Manager (Recommended)

  • Xcode > File > Swift Packages > Add Package Dependency
  • Add https://github.com/Jinya/AppStoreReviewManager.git
  • Select "Exact Version" (recommend using the latest exact version)

How to Use

import AppStoreReviewManager

// Get the App Store product page URL with a given App Store ID.
let productURL = AppStoreReviewManager.productURL(with: YOUR_PRODUCT_APP_STORE_ID)!

// Tells StoreKit to ask the user to rate or review your app, if appropriate.
// This is a convenient wrapper method for `SKStoreReviewController.requestReview()` and `SKStoreReviewController.requestReview(in:)`.
AppStoreReviewManager.requestReview()

// Open the App Store product page and present a write review form in the App Store.
AppStoreReviewManager.openProductPageForReview(with: YOUR_PRODUCT_APP_STORE_ID)

MIT License

AppStoreReviewManager released under the MIT license. See LICENSE for details.

GitHub

link
Stars: 3
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics