How to return lat / long coordinates and speed

175 views
Skip to first unread message

João Henriquez

unread,
Mar 24, 2019, 9:58:41 PM3/24/19
to Flutter Dev
I am trying to return the latitude and longitude coordinates.
I'm using "geolocator: ^ 3.0.1" but I'm having the following error, it seems to me to be something like that authorization that needs to be done to turn on the gps.

The error returned is: I / flutter (19213): decodePermissionRequestResult called with: value: [{3: 4}] D / permissions_handler (19213): No permissions found in manifest for: $ permission Can anybody help me?
Or indicate some other package that returns me the information in real time (text mode only without map display):
latitude, longitude calculate the distance between the points (lat and long initial / lat and long end) and speed in km / h

Andy Greenshaw

unread,
Mar 25, 2019, 4:59:01 AM3/25/19
to Flutter Dev, João Henriquez
Follow the package instructions here https://pub.dartlang.org/packages/geolocator and add the required permissions from the “Permissions” section.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anjan Roy

unread,
Mar 25, 2019, 10:48:57 AM3/25/19
to Flutter Dev
You could take a look at `locate` package.

Link : https://pub.dartlang.org/packages/locate
Github : https://github.com/itzmeanjan/locate

Reply all
Reply to author
Forward
0 new messages