-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FlutterPhotokit.saveToCameraRoll and saveToAlbum crash the app #3
Comments
I just found out through XCode: "This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data." Solution is to change the |
That's strange, according to the docs:
This plugin never accesses the photo library, just writes to it which is why I used |
I can confirm that my app crashes when I only have In my case I need read access to the library as well, not just write access. |
Same problem here. |
When running your example on my iPhone simulator (
iPhone XS Max • 6F9DE665-62D8-4DCC-A47B-CA97DAF9BD01 • ios • iOS 12.0 (simulator)
) it crashes:Reproduce with the code example
When clicking the 'save to camera roll' button, it crashes. From within my own project I found out that it crashes on the line of
FlutterPhotokit.saveToCameraRoll
. But I cannot get any further feedback unfortunately, because of Lost connection to device. Exited (sigterm).My setup
The text was updated successfully, but these errors were encountered: