react-native: Adding missing GeoLocation function: setRNConfiguration

This commit is contained in:
Shane Fitzpatrick
2017-11-13 14:12:32 -08:00
parent 642e90f456
commit 92db6df0e8

View File

@@ -618,6 +618,10 @@ export interface ShadowPropTypesIOSStatic {
shadowRadius: number
}
type GeoConfiguration = {
skipPermissionRequests: boolean;
}
type GeoOptions = {
timeout?: number,
maximumAge?: number,
@@ -8089,6 +8093,8 @@ export interface GeolocationStatic {
stopObserving(): void
requestAuthorization(): void;
setRNConfiguration(config: GeoConfiguration): void;
}
export interface OpenCameraDialogOptions {