Open riyas145 opened 2 years ago
I have the same issue. any updates?
@Sharqiyem Downgrade this plugin version that will work
downgrade to which version ?
"react-native-image-crop-picker": "^0.32.2", @shivamKredX
for android 11:
</application>
+ <queries>
+ <intent>
+ <action android:name="android.intent.action.VIEW" />
+ <!-- If you don't know the MIME type in advance, set "mimeType" to "*/*". -->
+ <data android:mimeType="application/pdf" />
+ </intent>
+ </queries>
</manifest>
Add these lines in android manifest and don't forget to remove (+) , may be it'll solve the problem
Android 11 (Redmi Note 10S)
Tell us which versions you are using:
- react-native-image-crop-picker ^0.37.2
- react-native 0.66.4
Platform
Android 11 (Redmi Note 10S)
- Android
Expected behaviour
Image Path
Actual behaviour
[Error: Invalid image selected] I Have added
Steps to reproduce
After adding android:requestLegacyExternalStorage="true" on android/app/src/main/AndroidManifest.xml still i'm having issues Phone: Redmi Note 10 S for Samsung that was working fine
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate
PR https://github.com/ivpusic/react-native-image-crop-picker/pull/1722 was merged
Android 11 (Redmi Note 10S)
Tell us which versions you are using:
Platform
Android 11 (Redmi Note 10S)
Expected behaviour
Image Path
Actual behaviour
[Error: Invalid image selected] I Have added
Steps to reproduce
After adding android:requestLegacyExternalStorage="true" on android/app/src/main/AndroidManifest.xml still i'm having issues Phone: Redmi Note 10 S for Samsung that was working fine
Attachments
// stacktrace or any other useful debug info
Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate