You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am getting an error on the Google Play Store now when uploading my app with react-native-agora. This permission is added to the AndroidManifest when built, and appears to be used for screen sharing. Google Play asks for a video example of the use case that requires this permission, however I don't have one as I don't use the screen sharing feature in my app. I am only using Agora for video chat / video recording from the device camera.
To Reproduce
Steps to reproduce the behavior:
./gradlew bundleRelease
Upload aab to Google Play
Get error: Your app uses the FOREGROUND_SERVICE_MEDIA_PROJECTION permission. You can only use this permission if your app performs tasks noticeable to the user when they're not directly interacting with your app.
Expected behavior
Not add this permission to my AndroidManifest at build if I am not using screen sharing feature, or have some way to flag it. I have added the following to my project/android/build.gradle but not working:
@guoxianzhe Maybe add to react-native-agora Readme under setup, as someone who is just using streaming and not sharing, I missed that completely. Thanks so much!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
I am getting an error on the Google Play Store now when uploading my app with react-native-agora. This permission is added to the AndroidManifest when built, and appears to be used for screen sharing. Google Play asks for a video example of the use case that requires this permission, however I don't have one as I don't use the screen sharing feature in my app. I am only using Agora for video chat / video recording from the device camera.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not add this permission to my AndroidManifest at build if I am not using screen sharing feature, or have some way to flag it. I have added the following to my project/android/build.gradle but not working:
configurations.all {
exclude group:"io.agora.rtc", module:"full-screen-sharing"
}
Additional context
"react-native": "0.75.2"
"react-native-agora": "^4.4.0"
The text was updated successfully, but these errors were encountered: