From 5fab7ccdcb61e575950594903096e7fa02d0999d Mon Sep 17 00:00:00 2001 From: Julian Rex Date: Tue, 8 Sep 2020 13:28:05 -0400 Subject: [PATCH] Adds missing method for location test. (#422) --- platform/ios/Integration Tests/MGLTestLocationManager.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/ios/Integration Tests/MGLTestLocationManager.m b/platform/ios/Integration Tests/MGLTestLocationManager.m index f9a5a8650f..20e82c9d3a 100644 --- a/platform/ios/Integration Tests/MGLTestLocationManager.m +++ b/platform/ios/Integration Tests/MGLTestLocationManager.m @@ -41,4 +41,10 @@ - (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading - (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager { return NO; } +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000 +- (CLAccuracyAuthorization)accuracyAuthorization { + return CLAccuracyAuthorizationFullAccuracy; +} +#endif + @end