Skip to content

Commit

Permalink
Document buttonPositive, buttonNegative, buttonNeutral (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterh-dev authored and axe-fb committed Oct 30, 2018
1 parent 08ca39d commit 6514d74
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/permissionsandroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,17 @@ If `rationale` is provided, this function checks with the OS whether it is neces
| Name | Type | Required | Description |
| ---------- | ------ | -------- | ------------------------------------ |
| permission | string | Yes | The permission to request. |
| rationale | object | No | Object with a `title` and `message`. |
| rationale | object | No | See `rationale` below. |

**Rationale:**

| Name | Type | Required | Description |
| ----------------- | ------ | -------- | ------------------------------------ |
| title | string | Yes | The title of the dialog. |
| message | string | Yes | The message of the dialog. |
| buttonPositive | string | Yes | The text of the positive button. |
| buttonNegative | string | No | The text of the negative button. |
| buttonNeutral | string | No | The text of the neutral button. |

---

Expand Down

0 comments on commit 6514d74

Please sign in to comment.