Questions tagged [camera-roll]

171 questions
3
votes
1 answer

CameraRoll react-native smartAlbum

It's possible to fetch photos with camera roll but filtred by smart albums like: Selfies, Screeenshots etc..? I try with this: CameraRoll.getPhotos({ groupName: 'Favorites', groupTypes: 'Library', first: 36 }) .then((data) => { const assets =…
Carolina
  • 437
  • 3
  • 18
3
votes
1 answer

iOS 9 save gif to photo library

Now that AssetsLibrary has been deprecated, we're supposed to use the photos framework, specifically PHPhotoLibrary to save images and videos to a users camera roll. Using ReactiveCocoa, such a request would look like: func saveImageAsAsset(url:…
barndog
  • 6,975
  • 8
  • 53
  • 105
3
votes
3 answers

UISaveVideoAtPathToSavedPhotosAlbum not saving video to camera roll

I'm trying to use glimpse to record a UIView. It successfully saves it to the app's documents folder, however I also need it to save to the user's camera roll. It isn't saving to the camera roll, I am presented with an alert to allow the app to…
Jack
  • 304
  • 6
  • 19
3
votes
2 answers

Download and Save Video to Camera Roll

This seems to be something that should be very straight forward based on all the examples and docs I've read, but I am still unable to get this to work for some strange reason. I am using Alamofire Frame work to download a video from instagram. …
Lavvo
  • 1,024
  • 3
  • 16
  • 35
3
votes
1 answer

Accessing Camera Roll from Browser in iOS

I am working on an in-browser web application which needs to upload a user's photo from the camera roll but i can't seem to figure it out. I have researched this subject and all the answers i am finding state that you can't access the camera roll…
hfrog713
  • 400
  • 1
  • 5
  • 18
2
votes
0 answers

React Native open failed: ENOENT (No such file or directory) after save image to camera roll

I want save one of views in my react native app as an image to camera roll. I'm using camera roll to save image. I got alert "Image saved successfully" but at the same time on the screen displayed error: " Possible Unhandled Promise Rejection (id:…
2
votes
1 answer

How to implement the Roll angle together with Yaw and Pitch in glm::lookAt function?

From this page https://learnopengl.com/Getting-started/Camera I learned how to implement the Yaw and Pitch angle to a glm::lookAt function. But sadly I could not find any reference of how to add also the Roll angle to the funcion. When I try to…
2
votes
1 answer

Opening a file with a PHAsset URI from a Webview

From the camera roll, I get a list of URIs in the ph://xxxxx format. If I use these URIs in Image or ImageBackground components everything works as expected. I want to show these photos in a webview. Adding to the html an img tag with that kind of…
2
votes
1 answer

How to call iOS photos library from Rust?

I'm interested in doing some low level programming of Rust and React-Native, this tweet by Jared Sumner peaked my interested. So basically he used the JSI to do a c++ implementation and apparently the results are much much faster than the regular…
Oscar Franco
  • 5,691
  • 5
  • 34
  • 56
2
votes
1 answer

React Native - Is it possible to download multiple assets using rn-fetch-blob?

Is there a way to download an array of objects (of .mp4, .jpg, etc...) using rn-fetch-blob? Right now this code is grabbing a single .mp4 url, but what if I have an array of .mp4 mixed in with some .jpg? How would I do such a thing? say I have…
hellomello
  • 8,219
  • 39
  • 151
  • 297
2
votes
1 answer

How Expo(React Native) can access gallery and external storage without CAMERA_ROLL permission?

I have a terrible question.. I hope there is anyone who know this problem.. In EXPO App which is a wrapper API for React Native, How can Expo Image picker example app can access Gallery(external storage) without requesting any external storage…
2
votes
2 answers

can't find Camera Roll album in Smart Album iOS 13

I ran into a problem. There were 15 albums for type smartAlbum in AssetCollection before iOS 13, but with iOS 13, the number became 14. Camera Roll disappeared from it. Here Code of fetching albums: func loadAlbums() { var albums:[AlbumModel]…
2
votes
1 answer

React Native - How to show one specific Image from Camera Roll using TouchableHighlights

My Goal is to show the Image in that white space whenever is touched (TouchableHighlight) from CameraRoll to the . I can't find any tutorial to do this and I just have a little knowledge in JavaScript so I decided to ask a question in Stack…
Liza Catherine Ombyaw
  • 804
  • 2
  • 11
  • 27
2
votes
1 answer

How to get list of local videos and display them in grid format in React Native?

I am trying to do something similar to what Instagram has for their select video screen. Where a grid of local videos that can be uploaded and it'll kind of 'preview' the one that is currently selected above the grid itself. I'm using the…
dmouawad
  • 539
  • 1
  • 5
  • 13
2
votes
3 answers

react native - Camera Roll returned uri does not have file's extension

React native has a good lib like CameraRoll which allow us to access the media files of phones. However, the returned uri is missing the extension: { node: { timestamp: 1344461389.8, type: 'image', <= it is used to be 'image/png' instead of…
Luong Truong
  • 1,953
  • 2
  • 27
  • 46
1 2
3
11 12