Why does ImagePicker.launchImageLibraryAsync() work without requestPermission?

Please provide the following:

  1. SDK Version: expo 46.0.0, expo-image-picker 13.3.1
  2. Platforms(Android/iOS/web/all): all
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I can use ImagePicker.launchImageLibraryAsync() to get pictures from my photo album without using requestPermission from ImagePicker.useMediaLibraryPermissions.

Even if I make status “denied” using requestPermission, I can still access the photo album.

Is there no problem with this? Can I use ImagePicker.launchImageLibraryAsync() without requestPermission?

Additionally, If ImagePicker.launchCameraAsync() does not use the requestPermission from useCameraPermissions or the status is not “granted”, an error occurs.

Why doesn’t anyone answer?

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