File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,29 @@ const options = {
388
388
RNCallKeep .hasDefaultPhoneAccount (options);
389
389
```
390
390
391
+ ### checkPhoneAccountEnabled
392
+
393
+ Checks if the user has set a default [ phone account] ( https://developer.android.com/reference/android/telecom/PhoneAccount ) and it's enabled.
394
+
395
+ It's useful for custom permission prompts. It should be used in pair with ` registerPhoneAccount `
396
+ Similar to ` hasDefaultPhoneAccount ` but without trigering a prompt if the user doesn't have a phone account.
397
+
398
+ _ This feature is available only on Android._
399
+
400
+ ``` js
401
+ RNCallKeep .checkPhoneAccountEnabled ();
402
+ ```
403
+
404
+ ### isConnectionServiceAvailable
405
+
406
+ Check if the device support ConnectionService.
407
+
408
+ _ This feature is available only on Android._
409
+
410
+ ``` js
411
+ RNCallKeep .checkPhoneAccountEnabled ();
412
+ ```
413
+
391
414
### backToForeground
392
415
_ This feature is available only on Android._
393
416
You can’t perform that action at this time.
0 commit comments