mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
9338fbd781
Summary: It seems that the `requestPermission` and `checkPermission` APIs from PermissionsAndroid have been deprecated in react-native 0.40.0., but they are still used in the description and example. This commit updates the description and the example to use the new APIs. Closes https://github.com/facebook/react-native/pull/11722 Differential Revision: D4392031 Pulled By: ericvicenti fbshipit-source-id: e3ceebb1ef557e05dab40bb883013be4ec80bed6