Skip to content

davidsims9t/react-native-camera-encode-buffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Purpose:

I wanted a way to base64 encode videos and photos from the CameraRoll in react-native. So I came up with this solution.

How to use:

  1. Open up your project and drag the Base64Asset.h and Base64Asset.m classes into your project.
  2. Run the project
  3. Use the module by using:

const {NativeModules} = React

NativeModules.Base64Asset.read(assetUri, (base64EncodedFile) => { console.log(base64EncodedFile) })

  1. That's it!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published