Skip to content

Commit 6100cfc

Browse files
committed
bump
1 parent ff25698 commit 6100cfc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ phone.sms(["212-555-1234","212-555-1245"],"My Message")
102102
);
103103
```
104104

105+
#### requestCallPermission: Request Android Call_Phone Permission
106+
#### Parameters
107+
* explanationText: The explanation text if the user denies permission twice.
108+
If you attempt to use `dial("122929912", false)` to not prompt on android 6.0 nothing will happen unless permission has been approved. When this method is executed a check for permissions happens, if no permissions it returns a string as a warning. There is no harm in wrapping your `dial()` inside of the `requestCallPermission()` method.
109+
105110

106111
### TypeScript example
107112

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-phone",
3-
"version": "1.2.4",
3+
"version": "1.3.0",
44
"description": "NativeScript plugin to use the device phone and SMS features for Android and iOS",
55
"main": "index",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)