From 6514d74b518ba8a77c73ec40a1838f63cfe529b6 Mon Sep 17 00:00:00 2001 From: Wouter Date: Wed, 31 Oct 2018 00:32:34 +0100 Subject: [PATCH] Document buttonPositive, buttonNegative, buttonNeutral (#650) --- docs/permissionsandroid.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/permissionsandroid.md b/docs/permissionsandroid.md index 16128f790212f6..907deccefeeefa 100644 --- a/docs/permissionsandroid.md +++ b/docs/permissionsandroid.md @@ -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. | ---