refactor(permissions): Remove unnecessary full-screen intent permission for outgoing calls
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
|
|
||||||
|
<!-- Remove USE_FULL_SCREEN_INTENT added by flutter_callkit_incoming/flutter_local_notifications.
|
||||||
|
Not needed: app only has outgoing calls (no incoming call UI on lock screen). -->
|
||||||
|
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" tools:node="remove"/>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
||||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
|
||||||
<uses-permission android:name="android.permission.CAMERA"/>
|
<uses-permission android:name="android.permission.CAMERA"/>
|
||||||
|
|||||||
@@ -225,6 +225,6 @@ SPEC CHECKSUMS:
|
|||||||
wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556
|
wakelock_plus: e29112ab3ef0b318e58cfa5c32326458be66b556
|
||||||
webview_flutter_wkwebview: 8ebf4fded22593026f7dbff1fbff31ea98573c8d
|
webview_flutter_wkwebview: 8ebf4fded22593026f7dbff1fbff31ea98573c8d
|
||||||
|
|
||||||
PODFILE CHECKSUM: 32adf4606dae7e9ca2351c13b9e3ce1df6ad7ebf
|
PODFILE CHECKSUM: 1f8874f58051a502e2f506dc2d4737781aa1edde
|
||||||
|
|
||||||
COCOAPODS: 1.16.2
|
COCOAPODS: 1.16.2
|
||||||
|
|||||||
@@ -27,8 +27,7 @@ class CallKitService {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
// Full-screen intent permission not needed for outgoing-only calls.
|
||||||
await _safe(() => FlutterCallkitIncoming.requestFullIntentPermission());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Starts an outgoing call with the native UI and returns the call id.
|
/// Starts an outgoing call with the native UI and returns the call id.
|
||||||
|
|||||||
Reference in New Issue
Block a user