Closed isoos closed 4 years ago
@markflarup this repository is for pub site, please file issues to the package's repository or contact the developer directly. I'm moving the issue.
hi please, when will this be supported
I think you can use this branch : https://github.com/driveddy/geolocation
I think you can use this branch : https://github.com/driveddy/geolocation
I will look into it, thanks! :) As of now I have relied on geolocator (https://pub.dartlang.org/packages/geolocator)
Hi, why if the solution is only change the pubspec.yaml file adding the sdk support, as is already did by https://github.com/driveddy/geolocation, the package is not update in pub.dartlang.org/packages/geolocation ?
My app also broke due to this Dart SDK version incompatibility. Guys, any time frame by when it'll get the fix? -.-
upvote! This sdk change is breaking everything.
geolocation: git: "https://github.com/loup-v/geolocation.git"
this worked for me. i think the dart package system is doing additional checks for dart 2 compatibility.
I created a fork of this, from a form that works with Dart, 2.x, I also fixed android as it's broken here as well as adding an option to enable Location Services in case it's disabled on Android. https://github.com/shehabic/geolocation you can use it as
geolocation:
git:
url: 'https://github.com/shehabic/geolocation'
Where do we add this? in pubspec.yaml? as a new dependency?
Sorry for the delay. It should be fixed in the latest release 1.0.0.
From @markflarup on September 5, 2018 8:35
URL: https://pub.dartlang.org/packages/geolocation#-installing-tab-
I want to support geo location in an app, but after adding
geolocation: ^0.2.1
as a dependency the following error message is returned:Do you have a estimate for when it will be supported?
Copied from original issue: dart-lang/pub-dartlang-dart#1580