Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenselcuk/react-native-ask-for-review
Ask for review with following Apple's Human Interface Guidelines
https://github.com/stevenselcuk/react-native-ask-for-review
android app-store apple ios rate react-native react-native-app react-native-bridge review star store storekit swift
Last synced: 27 days ago
JSON representation
Ask for review with following Apple's Human Interface Guidelines
- Host: GitHub
- URL: https://github.com/stevenselcuk/react-native-ask-for-review
- Owner: stevenselcuk
- License: mit
- Created: 2020-09-01T10:17:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T11:24:44.000Z (over 4 years ago)
- Last Synced: 2024-10-25T05:56:27.866Z (2 months ago)
- Topics: android, app-store, apple, ios, rate, react-native, react-native-app, react-native-bridge, review, star, store, storekit, swift
- Language: Swift
- Homepage:
- Size: 39.1 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-ask-for-review
## Ask for ⭐️⭐️⭐️⭐️⭐️ nicely!
This React Native package basically triggers a system-provided rating & review prompt with following Apple's practices.
For more information:
[Relevant Human interface guideline](https://developer.apple.com/design/human-interface-guidelines/ios/system-capabilities/ratings-and-reviews/)
[Requesting App Store Review Documentation](https://developer.apple.com/documentation/storekit/skstorereviewcontroller/requesting_app_store_reviews)
## 📦 How to install
`npm install react-native-ask-for-review --save`
or
`yarn add react-native-ask-for-review`
then
`cd ios && pod install` and run your project 🔥 This step probably works. If not please proceed 👇🏻
## 🧠 How to use
```javascript
import AskForReview from 'react-native-ask-for-review';// Call it in your App.js
AskForReview();
```#### React Native <= 0.60
Manually link the package.`react-native link react-native-ask-for-review`
Run `pod install` in the `ios/` directory
#### Manual installation for iOS
If you can't use use_frameworks! use this step.
Install the package and create a Bridging Header file
Add a new file to Xcode (File > New > File), then select “Source” and click “Swift File“.
Name it anything you want. Select "Yes" when asked if you want to create a Bridging Header File.
Delete everything in the new Swift file.
Run `pod install` in the `ios/` directory
#### Android
No android for now. Sorry. 👉🌼
### 🗺 Road Map
- [ ] Solution for Android side 🤔