Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP
Created Jul 19, 2019
Embed
What would you like to do?
// @flow
import { NativeModules } from 'react-native';
var location = NativeModules.MyLocationDataManager;
async requestPermissions() {
const result = await location.requestPermissions('');
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment