An easy way to access reviews for your app instead of writing repetitive and redundant codes for every app.
iOS 11.0+, Swift 5.7+
https://github.com/Jinya/AppStoreReviewManager.git
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)
AppStoreReviewManager released under the MIT license. See LICENSE for details.
link |
Stars: 6 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics