0.0.1 • Published 1 year ago

react-native-catalk-nftwallet-test v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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

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