Questions tagged [camera-roll]
171 questions
13
votes
2 answers
ios 8, how to get all photos using ALAssetLibrary to replace the missing camera roll album
I have an app that has a custom Image Picker that uses the ALAssetLibrary to create an Album picker and image picker. We've implemented a custom picker in order for our customers to select multiple images. This image picker works great under iOS 7…

stulevine
- 143
- 1
- 6
9
votes
0 answers
Image orientation issue in android react native
i'm using CameraRoll.getPhotos for get photos from gallery.
import {
CameraRoll,
} from 'react-native';
CameraRoll.getPhotos(fetchParams).then((data) => {
});
I have a problem with the orientation of the images on some android phones. I have…

jose920405
- 7,982
- 6
- 45
- 71
9
votes
5 answers
iOS & Swift - How can I get and save a UIImage from the user?
I am writing a Swift app for iOS. I want to know how to get an image from the user's camera roll (or whatever they're calling it these days) and save it locally within the app so that I can reference it later. How would one go about this? As an…

quillford
- 111
- 1
- 1
- 6
8
votes
2 answers
undefined is not an object (evaluating 'RCTCameraRollManager.getPhotos')
I want to use CameraRoll to get a picture but broken by red-screen.
So I tried following:
//print: undefined
console.log(RCTCameraRollManager);
red-screen

AlienCoder
- 101
- 2
- 6
7
votes
3 answers
Can I get absolute URI of video on camera roll and mutate it from my app?
I want to perform an operation on a video in the iphone camera roll, and I require an absolute URI as I will be using ffmpeg natively within my app.
Is it possible to operate on the video in place? or would I need to copy the video to a tmp dir,…

hunterp
- 15,716
- 18
- 63
- 115
7
votes
0 answers
save captured image to custom - secret album in react-native
Within my react-native app, I need to take a picture and save it to new - custom album. Album should not be able to be accessed through photos over menu, thus I need to make album private, so captured photos can only be accessed through the app…

Ali Zeynalov
- 2,867
- 8
- 30
- 54
6
votes
2 answers
Way to add overlay when I am recording a Video in ios
Is there any way to add overlay while I am recording a Video so that when I will play the video from camera roll I can see the overlay.

Gobinda Das
- 143
- 7
5
votes
2 answers
How to open iOS gallery app from React Native app
I'm having trouble opening iOS gallery app from React Native app.
I have the file url and asset url. I got the asset url from CameraRoll. Now I want to open the gallery itself to see the image.
This is the code that I use
openGallery = () => {
//…

Addin
- 51
- 1
- 5
5
votes
1 answer
react native camera roll .heic files
The new .HEIC files on IOS 11 is causing problems because image hosting services to not support it.
The camera roll api is returning.HEIC files. How can we get .JPG/.PNG instead. Or convert .HEIC to .JPG/.PNG

Thomas Charlesworth
- 1,789
- 5
- 28
- 53
5
votes
1 answer
Save Video to CameraRoll React-Native
It´s possible to save a video on React-Native using cameraRoll, for images with saveImageWithTag() it´s easy but i can´t found documentation for videos.

brainbrain
- 51
- 5
5
votes
1 answer
ios UIImagePickerController inside camera roll?
How can one include the UIImagePickerController inside the camera roll picker similar to what facebook and path do (see screenshot). I am just looking to be pointed in the right direction, not specifically looking for code on how to achieve this..…

sudo
- 1,648
- 1
- 20
- 22
5
votes
1 answer
UIVideoAtPathIsCompatibleWithSavedPhotosAlbum returns false when deploying on the iPhone
One of my app's features is to download a mp4 file and store it to the local phone album.
I have tried several approaches since and the result is always the same, it worked on the simulator but not on the actual iPhone. Xcode is version 5.0.1,…

user3385033
- 133
- 2
- 7
4
votes
1 answer
Create Album with React Native CameraRoll
With ReactNative CameraRoll, you can save a photo/video to an existing album on your device's camera roll. Is there a way to create the album, if it does not yet exist, before saving to it?

Micaela
- 61
- 3
4
votes
0 answers
how to get latest captured image from gallery in react-native (IOS)?
After capturing the image, I am able to get the latest captured image in android but in IOS I am getting the last image in the gallery but not the latest captured image.
How can I get the latest captured image from gallery in IOS?
I am using…

Pratap Penmetsa
- 1,137
- 17
- 41
4
votes
0 answers
react-Native get create-Date for a Photo
I want to sort the pictures by date, so I need the creation-date. from where can I get this date?
in the Gallery my photos are sorted for this.
I want sort Photos like this on my app.
I want to continue using the CameraRoll.
thanks

Walter Dornez
- 43
- 5