question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android 11 - openPicker() not opening the Image Gallery view instead opening files [🐛]

See original GitHub issue

Description

Till Android 10, using ImagePicker.openPicker() used to open the Image Gallery View, but on Android 11+ devices, it opens the files with folders view.

I tried the latest app version 0.37.2 but it has the same functionality, the Android code to open the Image Gallery view seems to be okay in the library.

Here is my code:

    ImagePicker.openPicker({
      mediaType: 'photo',
      forceJpg: true,
    })

Do I need to do any changes to make this working again on Android 11+ devices?

Additional Information

  • Image Picker version: [0.36.1] (tried latest version - 0.37.1 as well)
  • React Native version: [0.64.2]
  • Platform: [Android]
  • Development Operating System: [MacOS]

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

11reactions
fabio-Ccommented, Mar 11, 2022

Any update?

0reactions
CamilleRungettecommented, Dec 13, 2022

Hi, does anyone has any update on this ? I have the same issue 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-image-picker not working in android 10
1. First add the below line android\app\src\main\AndroidManifest.xml ... <usespermission android:name="android.permission. · 2. Request ...
Read more >
Photo picker | Android Developers
The photo picker provides a browsable, searchable interface that presents the user with their media library, sorted by date from newest to oldest....
Read more >
How to build an image picker using react-native-image-crop ...
This tutorial demonstrates how to use React Native Image Crop Picker to select images from devices and upload photos to your app.
Read more >
Pictures Not Showing up in Gallery Fix - YouTube
If your Pictures Not Showing up in Gallery on Android, Samsung Galaxy device or any other Android device with four (4) solutions to ......
Read more >
react-native-image-crop-picker - npm
iOS/Android image picker with support for camera, configurable compression, multiple images and cropping. Backers on Open Collective ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found