-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: deprecated plugin warnings during build and "LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 0.)" error #1546
Comments
Dear @ohalukkarakaya, Thanks for your input. Regarding the error on macOS. Have you checked if you have an active Wifi connection? Otherwise the Mac cannot determine your location. Furthermore, the deprecation warnings should be fixed by us. Kind regards, |
LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 1.) |
LOCATION UPDATE FAILURE:Error reason: (null)Error description: The operation couldn’t be completed. (kCLErrorDomain error 1.) |
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
/Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.m:40:31: warning: 'authorizationStatus' is deprecated: first deprecated in macOS 11.0 [-Wdeprecated-declarations]
return [CLLocationManager authorizationStatus];
^~~~~~~~~~~~~~~~~~~
authorizationStatus
In module 'CoreLocation' imported from /Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.h:11:
^
/Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.m:47:65: warning: 'authorizationStatus' is deprecated: first deprecated in macOS 11.0 [-Wdeprecated-declarations]
CLAuthorizationStatus authorizationStatus = CLLocationManager.authorizationStatus;
^~~~~~~~~~~~~~~~~~~
authorizationStatus
In module 'CoreLocation' imported from /Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.h:11:
^
/Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.m:47:65: warning: 'authorizationStatus' is deprecated: first deprecated in macOS 11.0 [-Wdeprecated-declarations]
CLAuthorizationStatus authorizationStatus = CLLocationManager.authorizationStatus;
^~~~~~~~~~~~~~~~~~~
authorizationStatus
In module 'CoreLocation' imported from /Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.h:11:
^
/Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.m:107:1: warning: implementing deprecated method [-Wdeprecated-implementations]
^
In module 'CoreLocation' imported from /Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/PermissionHandler.h:11:
^
4 warnings generated.
/Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/LocationServiceStreamHandler.m:36:1: warning: implementing deprecated method [-Wdeprecated-implementations]
^
In module 'CoreLocation' imported from /Users/o.halukkarakaya/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.7/macos/Classes/Handlers/LocationServiceStreamHandler.m:9:
^
(It was working, i didn't change anything but just upgraded flutter sdk)
Expected results
not geting warnings during build and geting geo location data without any error
Actual results
warnings printed, couldn't get geo location
Code sample
These warning and error message printed out:
Code sample
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
^12.0.0
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: