-
Notifications
You must be signed in to change notification settings - Fork 35
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
Not getting location in Android 8.0.0 Oreo #34
Comments
Hi @NarendraSingh88! |
@MustansirZia But, my problem is still the same, i.e, the fused location Promise isn't getting resolved, and its not even getting inside |
I'm also having this issue on my Moto X4(8.0.0). |
@NarendraSingh88, @NULL-SWEAT. This looks a little strange as the locations on |
Below is the code that I tried for retrieving current location.
I have tried it in a few of the devices including Oreo (both 8.0.0 and 8.1.0), along with the devices having the lower versions, like Marshmallow and Nougat.
What I have observed is that - in the devices having versions 8.0.0 (including ONEPLUS A3003, and Nokia), this code is not working as expected, and its not even getting inside
FusedLocation.getFusedLocation().then(location => {
nor inside the catch block.
Though, I am getting E/request: 100 in log.
In other devices (4-5 devices), in which I have tested, including MI A1 Oreo 8.1.0, and the devices with versions lower than Oreo, it seems working fine.
I am unable to figure out whats wrong with 8.0.0, or is there anything wrong in my code, due to which its not specifically working in Android Oreo 8.0.0.
The text was updated successfully, but these errors were encountered: