From 1c3ab0eec802ac379a25721067af9eca72449951 Mon Sep 17 00:00:00 2001 From: Santhosh Vaiyapuri <3846977+santhoshvai@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:04:27 +0100 Subject: [PATCH] fix: update callkeep to support newer android targetSdks --- packages/react-native-callkeep/src/withCallkeep.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/react-native-callkeep/src/withCallkeep.ts b/packages/react-native-callkeep/src/withCallkeep.ts index 5dfcc4de..357c3259 100644 --- a/packages/react-native-callkeep/src/withCallkeep.ts +++ b/packages/react-native-callkeep/src/withCallkeep.ts @@ -69,10 +69,7 @@ const withAndroidManifestService: ConfigPlugin = (config) => { "android:label": "Wazo", "android:permission": "android.permission.BIND_TELECOM_CONNECTION_SERVICE", - // Use this to target android >= 11 - // "android:foregroundServiceType": "camera|microphone", - // For android < 11 - "android:foregroundServiceType": "phoneCall", + "android:foregroundServiceType": "camera|microphone", }, "intent-filter": [ {