MediaLibrary.saveToLibraryAsync not working Android 13

Please provide the following:

  1. SDK Version: 48
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

MediaLibrary.saveToLibraryAsync not working Android 13 and gives error. Please see error log below. On Android 12 I am able to save images. Is this because of some scoped storage changes to Android?

WARN Possible Unhandled Promise Rejection (id: 0):
Error: Call to function ‘ExpoMediaLibrary.saveToLibraryAsync’ has been rejected.
→ Caused by: Missing MEDIA_LIBRARY permissions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.