Skip to content

Commit

Permalink
fix Android 12 missing READ_PHONE_NUMBERS permission (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
RuiChen0101 authored Apr 9, 2022
1 parent 376c935 commit 7169d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/io/wazo/callkeep/CallKeepModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class CallKeepModule {
private static final String E_ACTIVITY_DOES_NOT_EXIST = "E_ACTIVITY_DOES_NOT_EXIST";
private static final String REACT_NATIVE_MODULE_NAME = "CallKeep";
private static final String[] permissions = { Manifest.permission.READ_PHONE_STATE,
Manifest.permission.CALL_PHONE, Manifest.permission.RECORD_AUDIO };
Manifest.permission.CALL_PHONE, Manifest.permission.RECORD_AUDIO , Manifest.permission.READ_PHONE_NUMBERS };

private static final String TAG = "FLT:CallKeepModule";
private static TelecomManager telecomManager;
Expand Down

0 comments on commit 7169d9c

Please sign in to comment.