Skip to content

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

@lumathieu

Description

@lumathieu

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions