Skip to main content
VESDK/React Native

I submitted my app, and Google is asking why it needs the foreground services permission (FOREGROUND_SERVICE_MEDIA_PROCESSING/PLAYBACK). What should I do about this? Is it really necessary?

This Issue is soloved when using IMGLY 10.10.0+.

Up to version 10.9.0, our SDK used the FOREGROUND_SERVICE_MEDIA_PLAYBACK permission, as FOREGROUND_SERVICE_MEDIA_PROCESSING was only introduced with Build-SDK 35.

The FOREGROUND_SERVICE_MEDIA_PROCESSING permission (previously FOREGROUND_SERVICE_MEDIA_PLAYBACK) is essential for the video encoding process and used to ensure the encoding process isn’t canceled when the app is moved to the background It’s the official and recommended approach for this kind of task.

To address Google’s policy concerns, we suggest the following steps:

  1. Task Justification: When explaining the permission use, select “Media Transcoding” as the task requiring this permission.
  2. Provide a Demonstration: Record and share a video demonstrating how the app performs media processing tasks (like exporting or encoding). The video should clearly show how these tasks are completed even when the app isn’t actively in use.

If you’d prefer to remove this behavior entirely, you can disable the “backend:headless” setting. However, please note that this would result in the system canceling the export process if the app remains in the background for too long.