app-extension-cashback-library
v1.0.0
Published
Android library
Downloads
1
Readme
app-extension-cashback-library
Getting started
$ npm install app-extension-cashback-library --save
Mostly automatic installation
$ react-native link app-extension-cashback-library
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java
- Add
import com.appextension.reactnative.RNCashbackPackage;
to the imports at the top of the file - Add
new RNCashbackPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':app-extension-cashback-library' project(':app-extension-cashback-library').projectDir = new File(rootProject.projectDir, '../node_modules/app-extension-cashback-library/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':app-extension-cashback-library')
Usage
import AppExtensionCashback from 'app-extension-cashback-library';