Skip to content
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

[Android] Give permissions to media library Android 14 #14

Open
ChernenkoDmitriy opened this issue Oct 30, 2024 · 0 comments
Open

[Android] Give permissions to media library Android 14 #14

ChernenkoDmitriy opened this issue Oct 30, 2024 · 0 comments

Comments

@ChernenkoDmitriy
Copy link

ChernenkoDmitriy commented Oct 30, 2024

Before submitting a new issue

I tested using the latest version of the library, as the bug might be already fixed.

Bug Summary
When I try to add a video from the gallery for the first time, I give all the required permissions. However, after this initial attempt, I receive a prompt instructing me to go to settings and manually enable permissions, after give all permissions I can't add video. This bug occurs only on Android 14. On Android 10, it works as expected.

Steps to Reproduce

Open the app and attempt to add a video from the gallery.
Grant all permissions when prompted.
After granting permissions, observe the prompt instructing to go to settings to enable permissions again.
Expected Behavior
The app should retain the permissions on Android 14 after the initial grant and allow video selection without requiring the user to visit the settings manually.

Observed Behavior
The app prompts for permissions after the first attempt, only on Android 14, and redirects to settings unnecessarily.

Environment Details

Android Version: Android 14 (issue present), Android 10 (working as expected)
Relevant Libraries:
react-native-image-crop-picker (working on Android 14)
react-native-document-picker (working on Android 14)

Library version

0.4.0 and 0.3.0

Versions

"react": "18.3.1",
"react-native": "0.75.4",
"video-editor-react-native": "^0.4.0"
"react-native-permissions": "5.1.0"

2024-10-30 10 36 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant