diff --git a/geolocator_apple/ios/Classes/Handlers/PermissionHandler.m b/geolocator_apple/ios/Classes/Handlers/PermissionHandler.m index 2b216e38..92576769 100644 --- a/geolocator_apple/ios/Classes/Handlers/PermissionHandler.m +++ b/geolocator_apple/ios/Classes/Handlers/PermissionHandler.m @@ -50,13 +50,6 @@ - (void) requestPermission:(PermissionConfirmation)confirmationHandler return; } - if (self.confirmationHandler) { - // Permission request is already running, return immediatly with error - errorHandler(GeolocatorErrorPermissionRequestInProgress, - @"A request for location permissions is already running, please wait for it to complete before doing another request."); - return; - } - self.confirmationHandler = confirmationHandler; self.errorHandler = errorHandler; CLLocationManager *locationManager = [self getLocationManager]; diff --git a/geolocator_apple/pubspec.yaml b/geolocator_apple/pubspec.yaml index 529aea4d..d4452877 100644 --- a/geolocator_apple/pubspec.yaml +++ b/geolocator_apple/pubspec.yaml @@ -2,7 +2,7 @@ name: geolocator_apple description: Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator. repository: https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_apple issue_tracker: https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen -version: 2.3.2 +version: 2.3.3 environment: sdk: ">=2.15.0 <4.0.0"