1.0.2 • Published 4 years ago

react-native-cafebazaar-intent v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-native-cafebazaar-intent · GitHub license PRs Welcome

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

  1. 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 the getPackages() method
  1. 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')
  2. 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.