Questions tagged [camera-roll]
157 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…
![](../../users/profiles/3561465.webp)
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…
![](../../users/profiles/2907751.webp)
jose920405
- 7,607
- 3
- 36
- 64
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…
![](../../users/profiles/4207958.webp)
quillford
- 111
- 1
- 1
- 6
8
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,…
![](../../users/profiles/420259.webp)
hunterp
- 14,818
- 17
- 56
- 108
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
![](../../users/profiles/5026382.webp)
AlienCoder
- 91
- 1
- 6
6
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…
![](../../users/profiles/5696585.webp)
Ali Zeynalov
- 2,146
- 5
- 23
- 41
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.
![](../../users/profiles/5027056.webp)
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 = () => {
//…
![](../../users/profiles/6506909.webp)
Addin
- 51
- 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
![](../../users/profiles/4099225.webp)
Thomas Charlesworth
- 1,611
- 3
- 16
- 44
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.
![](../../users/profiles/5889349.webp)
brainbrain
- 51
- 4
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..…
![](../../users/profiles/1730131.webp)
sudo
- 1,608
- 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,…
![](../../users/profiles/3385033.webp)
user3385033
- 133
- 2
- 7
4
votes
1 answer
iOS, how to keep Photo Sphere XMP Metadata while saving it to Camera Roll?
I am able to add the Photo Sphere XMP Metadata to an equirectangular photo.
I uploaded the photo with the XMP metadata to Google Photos, and the Google Photos is able to be recognized as a sphere photo.
Then, I tried to save the photo with the XMP…
![](../../users/profiles/2407888.webp)
srjohnhuang
- 222
- 3
- 18
4
votes
1 answer
React Native save a http Image to Android camera roll
Here are some images from websites and I want to save them to Android camera roll.
I found out that React Native has an function CameraRoll.saveImageWithTag which could save certain image into the camera roll, but the param tag should be a local…
![](../../users/profiles/5100984.webp)
VaJoy Larn
- 81
- 8
4
votes
0 answers
CameraRoll api not returning all pictures in album
I'm using the CameraRoll api (getPhotos) to fetch pictures from a specific album. Unfortunately, when I call getPhotos (with any combination of first:number) params, I don't always get all the pictures in the album.
I usually have to make the…
![](../../users/profiles/4992884.webp)
Josiah Grace
- 83
- 5