rnbase64-native

1.0.9 • Public • Published

react-native-base64-native

Getting started

$ npm install react-native-base64-native --save

Mostly automatic installation

$ react-native link react-native-base64-native

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-base64-native and add RNBase64Native.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNBase64Native.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNBase64NativePackage; to the imports at the top of the file
  • Add new RNBase64NativePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-base64-native'
    project(':react-native-base64-native').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-base64-native/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-base64-native')
    

Windows

Read it! :D

  1. In Visual Studio add the RNBase64Native.sln in node_modules/react-native-base64-native/windows/RNBase64Native.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Base64.Native.RNBase64Native; to the usings at the top of the file
  • Add new RNBase64NativePackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNBase64Native from 'react-native-base64-native';

// TODO: What to do with the module?
RNBase64Native;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.91latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.91
1.0.80
1.0.71
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i rnbase64-native

Weekly Downloads

2

Version

1.0.9

License

none

Unpacked Size

89.5 kB

Total Files

17

Last publish

Collaborators

  • atrox39