React-native-image-picker: no timestamp and no location on both android and ios

Created on 30 Apr 2020  路  4Comments  路  Source: react-native-image-picker/react-native-image-picker

using the latest version of react-native-image-picker
launchImageLibrary => no timestamp and no location on ios
launchCamera=> no timestamp and no location on both ios & android

Please assist

All 4 comments

This is because of the check on this line https://github.com/react-native-community/react-native-image-picker/blob/master/ios/ImagePickerManager.m#L207

Permissions to the photo library are not requested for newer iOS version. So you don't need permissions to select an image from the Library but you need permissions to get timestamp and location data.

I will submit a PR to resolve the issue with the photo library not returning data. When using launchCamera you have to capture location and timestamp yourself in your js code

@levipro any updates?

+1

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yasserzubair picture yasserzubair  路  3Comments

DanMCX picture DanMCX  路  3Comments

Saad-Bashar picture Saad-Bashar  路  3Comments

chai86 picture chai86  路  3Comments

dlochynski picture dlochynski  路  4Comments