react-native-exif
react-native-exif copied to clipboard
Unable to extract exif from images with ph:// prefix on iOS
When trying to load image EXIF data on iOS this library is failing consistently.
This appears to be due to the native code using the deprecated ALAssetsLibrary.
There are many warnings when building for iOS related to this, eg.
'ALAssetsLibrary' is deprecated: first deprecated in iOS 9 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
Edit: For what it's worth -- I've created a fork of the project with a hacky fix with the help of Github Copilot that resolves the issue for me. I do not know Objective-C though so who knows how good the AI generated code is! I'm not sure if it's worth creating a PR with that "fix". It probably needs to be reviewed by someone who understands the language.