1.0.2 • Published 6 years ago
react-native-cafebazaar-intent v1.0.2
react-native-cafebazaar-intent ·

Getting started
$ npm i react-native-cafebazaar-intent
Mostly automatic installation (RN < 60)
$ react-native link react-native-cafebazaar-intent
Manual installation (RN < 60)
Android
- Open up
android/app/src/main/java/com/moh3n95/bazaarIntents/MainActivity.java
- Add
import com.moh3n95.bazaarIntents.RNCafebazaarIntentPackage;to the imports at the top of the file - Add
new RNCafebazaarIntentPackage()to the list returned by thegetPackages()method
- Append the following lines to
android/settings.gradle:include ':react-native-cafebazaar-intent' project(':react-native-cafebazaar-intent').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-cafebazaar-intent/android') - Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-cafebazaar-intent')
Usage
import {view, rate, login, developerCollection} from 'react-native-cafebazaar-intent';
view("YOUR_APP_PACKAGE_NAME");
rate("YOUR_APP_PACKAGE_NAME");
login();
developerCollection("YOUR_DEVELOPER_ID");Notice
This package is based on Bazaar Technical Documents
Contributing
Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.
Give me a Star
If you think this project is helpful just give me a ⭐️ Star is enough because i don't drink coffee 😃
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Author
Made with ❤️ by Mohsen Madani.