-
Notifications
You must be signed in to change notification settings - Fork 388
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
FOREGROUND_SERVICE_MEDIA_PROJECTION causing playstore to reject updates. #1666
Comments
Maybe you can check this issue for reference #1575 |
I have checked it, but still facing the same issue. I don't need the video related features as we are only using audio calls with the app. It's been a few days since we uploaded the update build and not getting accepted. If the problem cannot be resolved, we might even need to remove the audio call feature completely until we find a workaround. |
Can you try these steps to confirm where the permission is from? |
@littleGnAl I did. We did try all those and still the release manifest is showing the |
Is it from our package? |
Yes, as per the log. We don't have any other package which uses the |
I'm facing same issue and i did exclude "full-screen-sharing" module from project as mentioned here #1458 |
@melbanna40 Can you follow this step to check if the permission comes from our package? |
If you face this issue after these steps #1575 (comment), I think it's better to provide a reproducible demo for further investigation. |
it was from it. |
@melbanna40 i added configurations.all { |
i just cleared android caches at this paths |
How do you fix this on an expo app ? |
I also encountered this issue when uploading my APK to the Play Store. I was able to resolve it by following these steps:
|
Spent a good part of the day on this. Here is how i was able to finally fix it. Project-level means the app/build.gradle file. The code snippets here and other places confused me because "repositories" property is only in my the root level gradle file. So basically in app/build.gradle;
After making these changes, do a clean/build, and "sync gradle with project files". Important: In the error details on playstore it actually lists which bundles have the issue associated with them (but its not that obvious). So every time you clean/build, check the logs in manifest-merger-release-report.txt - which is created on every compilation. (details linked above by @littleGnAl), once you confirm the permission no longer exists in this log file, upload it, and attach this bundle to all the test and prod release channels. |
thanks this solution working for removing foreground services |
Version of the agora_rtc_engine
6.2.1
Platforms affected
Steps to reproduce
Expected results
We are only using audio call service. How to disable FOREGROUND_SERVICE_MEDIA_PROJECTION from manifest?
Actual results
FOREGROUND_SERVICE_MEDIA_PROJECTION causing playstore to reject updates.
Code sample
We tried adding this
configurations.all {
exclude group:"io.agora.rtc", module:"full-screen-sharing"
}
but still, the apk analyzer shows FOREGROUND_SERVICE_MEDIA_PROJECTION in manifest
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: