pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/naxel/react-native-camera-roll-android

="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-9e07ff8eaaaff3a3.css" /> GitHub - naxel/react-native-camera-roll-android: React Native cameraRoll for android · GitHub
Skip to content

naxel/react-native-camera-roll-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-camera-roll-android

Documentation

Why?

Fixed issue facebook/react-native#20112

Supports

Android

Installation

react-native link react-native-camera-roll-android

Manual

android/settings.gradle: settings.gradle

+ include ':react-native-camera-roll-android'
+ project(':react-native-camera-roll-android').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-camera-roll-android/android')

android/app/build.gradle:

dependencies {
...
+   implementation project(':react-native-camera-roll-android')
...
}

android/app/src/.../MainApplication.java:

dependencies {
...
import android.app.Application;
...
+import me.naxel.RNCameraRollAndroid.RNCameraRollAndroidPackage;
...
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
+            new RNCameraRollAndroidPackage(),
...
      );
    }

Using

import { CameraRoll as CameraRollIOS, Platform } from "react-native";
import CameraRollAndroid from 'react-native-camera-roll-android';

if (Platform.OS === 'android') {
  CameraRoll = CameraRollAndroid;
} else {
  CameraRoll = CameraRollIOS;
}

About

React Native cameraRoll for android

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy