Skip to content

Commit 27fbf48

Browse files
authored
Merge pull request #715 from hiennguyen92/dev
Fix bug duplicate permission Android
2 parents 08180e2 + 0679fad commit 27fbf48

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.5.5
2+
* Fix bug duplicate permission Android
3+
14
## 2.5.4
25
* Fix bug custom permission Android
36
* Remove calling notification when task remove

android/src/main/AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
1313
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL"/>
1414

15-
<uses-permission android:name="com.hiennv.flutter_callkit_incoming.PERMISSION_CALL" />
15+
<uses-permission android:name="${applicationId}.PERMISSION_CALL" />
1616

1717
<permission
18-
android:name="com.hiennv.flutter_callkit_incoming.PERMISSION_CALL"
19-
android:protectionLevel="normal" />
18+
android:name="${applicationId}.PERMISSION_CALL"
19+
android:protectionLevel="signature" />
2020

2121
<application>
2222

@@ -31,7 +31,7 @@
3131
android:launchMode="singleInstance"
3232
android:allowTaskReparenting="false"
3333
android:theme="@style/CallkitIncomingTheme"
34-
android:permission="com.hiennv.flutter_callkit_incoming.PERMISSION_CALL">
34+
android:permission="${applicationId}.PERMISSION_CALL">
3535
<intent-filter>
3636
<action android:name="${applicationId}.com.hiennv.flutter_callkit_incoming.ACTION_CALL_INCOMING" />
3737
<category android:name="android.intent.category.DEFAULT" />
@@ -59,7 +59,7 @@
5959
android:enabled="true"
6060
android:exported="true"
6161
android:foregroundServiceType="phoneCall"
62-
android:permission="com.hiennv.flutter_callkit_incoming.PERMISSION_CALL"
62+
android:permission="${applicationId}.PERMISSION_CALL"
6363
android:name="com.hiennv.flutter_callkit_incoming.CallkitNotificationService">
6464
</service>
6565

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_callkit_incoming
22
description: Flutter Callkit Incoming to show callkit screen in your Flutter app.
3-
version: 2.5.4
3+
version: 2.5.5
44
homepage: https://github.com/hiennguyen92/flutter_callkit_incoming
55
repository: https://github.com/hiennguyen92/flutter_callkit_incoming
66
issue_tracker: https://github.com/hiennguyen92/flutter_callkit_incoming/issues

0 commit comments

Comments
 (0)