From 44ba2177200a1018fd49e2d06841e2e4aeb69986 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 20 Nov 2018 00:53:01 +0000 Subject: [PATCH] Deploy website Deploy website version based on b57cadf29e38bb64887997a242f8add1c3a81bfb --- docs/next/permissionsandroid.html | 2 +- docs/next/permissionsandroid/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/next/permissionsandroid.html b/docs/next/permissionsandroid.html index b487e6b3f38..a70db2e9944 100644 --- a/docs/next/permissionsandroid.html +++ b/docs/next/permissionsandroid.html @@ -44,7 +44,7 @@

PermissionsAndroid provides access to Android M's new permissions model. The so-called "normal" permissions are granted by default when the application is installed as long as they appear in AndroidManifest.xml. However, "dangerous" permissions require a dialog prompt. You should use this module for those permissions.

-

On devices before SDK version 23, the permissions are automatically granted if they appear in the manifest, so check and request should always resolve to PermissionsAndroid.RESULTS.GRANTED.

+

On devices before SDK version 23, the permissions are automatically granted if they appear in the manifest, so check should always result to true and request should always resolve to PermissionsAndroid.RESULTS.GRANTED.

If a user has previously turned off a permission that you prompt for, the OS will advise your app to show a rationale for needing the permission. The optional rationale argument will show a dialog prompt only if necessary - otherwise the normal permission prompt will appear.

Example

import {PermissionsAndroid} from 'react-native';
diff --git a/docs/next/permissionsandroid/index.html b/docs/next/permissionsandroid/index.html
index b487e6b3f38..a70db2e9944 100644
--- a/docs/next/permissionsandroid/index.html
+++ b/docs/next/permissionsandroid/index.html
@@ -44,7 +44,7 @@
   

PermissionsAndroid provides access to Android M's new permissions model. The so-called "normal" permissions are granted by default when the application is installed as long as they appear in AndroidManifest.xml. However, "dangerous" permissions require a dialog prompt. You should use this module for those permissions.

-

On devices before SDK version 23, the permissions are automatically granted if they appear in the manifest, so check and request should always resolve to PermissionsAndroid.RESULTS.GRANTED.

+

On devices before SDK version 23, the permissions are automatically granted if they appear in the manifest, so check should always result to true and request should always resolve to PermissionsAndroid.RESULTS.GRANTED.

If a user has previously turned off a permission that you prompt for, the OS will advise your app to show a rationale for needing the permission. The optional rationale argument will show a dialog prompt only if necessary - otherwise the normal permission prompt will appear.

Example

import {PermissionsAndroid} from 'react-native';