1.0.0 • Published 4 years ago
rn-base64-on-steroids v1.0.0
react-native-base64-on-steroids
Getting started
$ npm install react-native-base64-on-steroids --save
Mostly automatic installation
$ react-native link react-native-base64-on-steroids
Manual installation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import steroids.on.base64.RNBase64OnSteroidsPackage;
to the imports at the top of the file - Add
new RNBase64OnSteroidsPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-base64-on-steroids' project(':react-native-base64-on-steroids').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-base64-on-steroids/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-base64-on-steroids')
Usage
import RNBase64OnSteroids from 'react-native-base64-on-steroids';
// TODO: What to do with the module?
RNBase64OnSteroids;
1.0.0
4 years ago
0.0.1-security
4 years ago