From 9160a6dd94b9899dce65008397d7e9a98a460a51 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Mon, 9 Sep 2024 11:15:33 +0200 Subject: [PATCH] fix: add missing mock field to GeolocationResponse --- js/NativeRNCGeolocation.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/NativeRNCGeolocation.ts b/js/NativeRNCGeolocation.ts index 8f6ab11..1520b2c 100644 --- a/js/NativeRNCGeolocation.ts +++ b/js/NativeRNCGeolocation.ts @@ -29,6 +29,10 @@ export type GeolocationResponse = { speed: number | null; }; timestamp: number; + /** + * Only set on Android API >= 18 or iOS >= 15 + */ + mocked?: boolean; }; export type GeolocationError = {