Issue with releasing app targeting Android 14 due to Foreground Service permissions in Zoom Video SDK

Hi @Guangda ,

Thanks for checking. If you’re not using VSDK screen-sharing feature in your application, you can remove the permission by adding the below code in the manifest file.

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" tools:node="remove"/>

Below is the description of the Foreground service permission that we used in our VSDK.

Thank you.

Elaine

Hi Elaine,

Thanks for your reply! To clarify, we only use the Zoom Meeting SDK, Not the Zoom Video SDK. And we don’t use the Screen Sharing feature. Does removing the MEDIA_PROJECTION and MEDIA_PLAYBACK permissions still work in this case?

We are wondering because you said the following in the above messages:
“If you’re using our Meeting SDK, the "mediaProjection|mediaPlayback|microphone|connectedDevice" these four permissions are necessary.” (link)

We did some experiments and removed the MEDIA_PROJECTION and MEDIA_PLAYBACK permissions from our app. Though it crashes when users first initiate a Zoom meeting, when interacting with the Android permission prompts. We are able to prevent the crashes by prompting users the permissions requests outside of the Zoom SDK, before initiating the Zoom meeting. But this is a bit hacky and we are wondering if there is any better way to prevent the crashes. Or if Zoom developers are able to fix the crashes in a new SDK version. We posted the details about the Zoom SDK crashes in this thread

Thank you for helping check!

Hi @Guangda , did you try to follow the article here to remove the permission? Add foreground service perms | MSDK | And
Added the code below in the manifest file to remove the permission.

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" tools:node="remove" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" tools:node="remove" />
<service
    android:name="com.zipow.videobox.share.ScreenShareServiceForSDK"
    android:exported="false"
    android:foregroundServiceType="microphone|connectedDevice"
    tools:replace="android:foregroundServiceType"
    android:label="Zoom"/>

If the above code does not work, please provide the crash stack for me to investigate.
Thank you

Elaine

Hi Elaine,

Thank you very much for your prompt response!

We followed the method mentioned in the article about removing the permissions. We used the exact same code for the manifest file. As I mentioned earlier, the method worked but it caused some crashes.

We posted the crash stack and steps to reproduce the crash in another thread:

We would greatly appreciate it if you could take a look on the crashes on the other thread. Thank you again for your assistance!