0.0.1 • Published 1 year ago
react-native-catalk-nftwallet-test v0.0.1
react-native-catalk-nftwallet
Getting started
$ npm install react-native-catalk-nftwallet --save
Mostly automatic installation
$ react-native link react-native-catalk-nftwallet
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.catalk.cc.RNCatalkNftWalletPackage;
to the imports at the top of the file - Add
new RNCatalkNftWalletPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-catalk-nftwallet' project(':react-native-catalk-nftwallet').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-catalk-nftwallet/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-catalk-nftwallet')
Usage
import RNCatalkNftWallet from 'react-native-catalk-nftwallet';
// TODO: What to do with the module?
RNCatalkNftWallet;
0.0.1
1 year ago