Skip to content

Commit 4dc0a55

Browse files
committed
fix(mobile): combine unused Android permission exclusions
1 parent 4da0e63 commit 4dc0a55

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎apps/mobile/app.config.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,15 @@ const config: ExpoConfig = {
309309
foregroundImage: variant.assets.androidAdaptiveForeground,
310310
monochromeImage: variant.assets.androidMonochromeIcon,
311311
},
312-
// react-native-webrtc's plugin requests overlay access for screen sharing, which voice does not use.
313-
blockedPermissions: ["android.permission.SYSTEM_ALERT_WINDOW"],
314312
// Opts into OnBackInvokedCallback-based back dispatch (Android 13+).
315313
// JS back handling survives it via react-native's Android 16 shim plus
316314
// withAndroidPredictiveBackCompat on Android 13-15.
317315
predictiveBackGestureEnabled: true,
318-
// expo-sensors declares this for its pedometer, which the app does not use.
319-
blockedPermissions: ["android.permission.ACTIVITY_RECOGNITION"],
316+
// The app uses neither expo-sensors' pedometer nor WebRTC screen sharing.
317+
blockedPermissions: [
318+
"android.permission.ACTIVITY_RECOGNITION",
319+
"android.permission.SYSTEM_ALERT_WINDOW",
320+
],
320321
},
321322
web: {
322323
favicon: variant.assets.appIcon,

0 commit comments

Comments
 (0)