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

No fix-state notification and mock location under recent Android versions ? #50

Open
lumathieu opened this issue Apr 9, 2021 · 4 comments

Comments

@lumathieu
Copy link

lumathieu commented Apr 9, 2021

Hello, I discover the nice RtkGPS app following the doc of Centipede to use a Drotek DP0601/D910 assembly, but I encounter 2 problems with the app.
In a first sight the app work very well : the connection to antenna and the Centipede network works properly and give centimeter accuracy after a little time of initialization.

But the mock location don't seems to work on my Galaxy A51 under Android 11. Until the server is started, when I try to use other apps using location (like OSMAnd or Google Maps), the internal GPS starts and these apps give a location with a classic GPS accuracy (4-20 meters).
RtkGPS+ seems continue to run in background and don't forgot the location if I return on.
I check config, mock location app in developper setup menu is set on RtkGPS, the location is turned on GPS only and the option is checked in the app.

In a second time, when I searched if the issue was ever described, I discovered in the Pull Requests that a fix-state notification has been added in a previous version. But on my phone I never seen message about fix, despite notifications for the app are allowed.

To compare, I ran tests on other Android and it's the same behaviour under Android 10 (tested on a Galaxy Tab and a Xiaomi Redmi Note 9). And with other GPS apps providing mock location on Android 11, when they run it was displayed an Android System notification about the activation of the functionnality and the providing app.

But no issues under Android 6.0 (Wiko U-Feel Lite), fix-state notification is well displayed and mock location works (but without message) : other apps like OSMAnd give an accurate location.

I precise that I have tested the original and the custom RtkGPS version from @jancelin repos, but have the same issues.

Have you the same issues ?

@lumathieu lumathieu changed the title No fix notification and mock location under recent Android versions ? No fix-state notification and mock location under recent Android versions ? Apr 9, 2021
@jancelin
Copy link

jancelin commented Apr 9, 2021 via email

@lumathieu
Copy link
Author

lumathieu commented Apr 9, 2021

Thank you for your return @jancelin.

Following your advice, I have rebooted my phone after put RtkGPS+ like the mock location app. I tried many times but no change unfortunately. The internal GPS starts every time.

@harlock974
Copy link

Same issue here with a Samsung Galaxy A50 and Android 11. Other mock location software work as expected (eg Fake GPS).

@MacGeyer
Copy link

Make mock location work again on recent Android device is a must have !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants