Skip to content
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 working on Android #30

Closed
imhafeez opened this issue Jun 12, 2020 · 8 comments
Closed

Not working on Android #30

imhafeez opened this issue Jun 12, 2020 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@imhafeez
Copy link

cannot receive any location updates on the android. Works fine in iOS

@imhafeez
Copy link
Author

/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed) W/ionsd.amspro.q( 5690): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/System ( 5690): A resource failed to call release.

@Almoullim
Copy link
Owner

Seems to be related to flutter/flutter#27095

@Almoullim Almoullim added bug Something isn't working help wanted Extra attention is needed labels Jun 14, 2020
@gapspt
Copy link

gapspt commented Jun 22, 2020

Seems to be related to flutter/flutter#27095

The logs can definitely be related to that.

But I wouldn't be so sure that what is causing the logs is the same thing that is causing this issue.
As long as the logs state "allowed" they are just warnings and shouldn't be hindering any functionality.

@imhafeez
Copy link
Author

But I didn't receive any location update on android. It works well on iOS

@gapspt
Copy link

gapspt commented Jun 22, 2020

I'm sure there is a real issue, I'm just stating that it might not be related to the logs you are seeing.

@dimitri-berges
Copy link

dimitri-berges commented Aug 4, 2020

Does AndroidManifest.xml contains "< uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />" or "< uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />" ? Make sure you remove the space after <

Maybe Android didn't ask your permission for location and you can't access it ?

@imhafeez
Copy link
Author

Thanks @Dixmis I'll check that. and will update here.

@imhafeez
Copy link
Author

Its working now. 😇. But it took some time while getting first location update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants