flutter-geolocator icon indicating copy to clipboard operation
flutter-geolocator copied to clipboard

No GPS Data with Android 8.1 on OnePlusOne 5T

Open Libero793 opened this issue 8 years ago • 6 comments

🐛 Bug Report

No Data is returned under Android 8.1 on OnePlusOne 5t with Android 8.1

Expected behavior

Return GPS Information on

gps.Position position = await gps.Geolocator().getCurrentPosition(desiredAccuracy: gps.LocationAccuracy.high);

Reproduction steps

Configuration

Version: 1.x

Platform:

  • [ ] :iphone: iOS
  • [x ] :robot: Android

Libero793 avatar Nov 22 '18 20:11 Libero793

Have you tested it outside where you can get a signal ? Also have you got the following in AndroidManifest ?

<uses-permission android:name="android.hardware.location.gps" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

ibrierley avatar Nov 22 '18 20:11 ibrierley

Nothing worked for me

ronaldG19 avatar Jan 07 '19 11:01 ronaldG19

Out of interest, is it the same if listening to a stream, does it ever return anything ? I also assume it's being tested outside where you can get a GPS signal and location is enabled.

On Mon, Jan 7, 2019 at 11:01 AM G19 [email protected] wrote:

Nothing worked for me

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BaseflowIT/flutter-geolocator/issues/139#issuecomment-451899189, or mute the thread https://github.com/notifications/unsubscribe-auth/ADuG9UCQasEQGvgQtt-f8pEEZPd9-rWGks5vAykEgaJpZM4Yv2J0 .

ibrierley avatar Jan 07 '19 11:01 ibrierley

Yep tested and doesnt work - you just getting no response from the stream

Libero793 avatar Jan 28 '19 22:01 Libero793

@Libero793 Could you add some reproduce steps so we can understand your situation?

StijnWoerkom avatar Sep 20 '19 13:09 StijnWoerkom

Closed due to no feedback

mvanbeusekom avatar Sep 04 '20 16:09 mvanbeusekom