-
Notifications
You must be signed in to change notification settings - Fork 2
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
reinstate location provider with yayaa/LocationManager #77
Conversation
@thrillfall thanks a lot for sending the patch! |
I tested on LineageOS 18.1 (Android 11) with microG and I remember I had to kill the app and open it again before my position was displayed.
Given we find a comparable solution for notifications there is no reason to differentiate between playstore and f-droid build |
I also tested this change with LineageOS 17.1 (Android 10) on Fairphone 3. |
I only tested this with microg. Before trying anything else i first wanted to know if this was an approach the maintainers would consider. |
@thrillfall the approach sounds good to me. If you could get it to work without microg, that would be awesome. |
i tested this without microG and it works. But again: I had to close the app and open it again before my position was displayed. |
Which Android version did you try? |
LineageOS 16 (Android 9) i am traveling the world (with fake location provider) and the app nicely follows and moves the blue location marker accordingly update: you have to enable "zoom after start" AND enable "Notification" in the settings then the app moves the map to the current position with location dot (after you reopened / or switch back to this app) |
It works for me with your updated instructions, thanks for investigating! |
Give me a week to investigate this, ok? |
* thrillfall ***@***.***> [2021-11-09 23:17]:
Give me a week to investigate if that is ok?
No hurry, thanks!
|
on clicking the "locate me" button below the map type selector the map will center on the last known location with a blue dot |
@jspricke this solves the location issue, right? |
***@***.*** this solves the location issue, right?
I just tested it and I still had to enable push notification and restart
the app to get it localized, so this needs more fixes to make it usable,
or what do you mean?
|
Oh, i did not notice that pn is still needed. I'll have a look again |
so i tried with fresh installs and notification is NOT enabled on devices with
on all devices i click the locate-me button and then have to grant location permission and then my location is shown as a blue dot. Works for me 🤷 |
Closed due to lack of interest. Happy holidays everyone |
there is sill interest just not high priority, reopening. |
Hey @thrillfall, thanks for your contributions & perseverance regarding this issue; they are much appreciated! Please do not take our slowness as disinterest, everyone here is working on this project 100% in their spare time besides their day job, university and family. I'd look into this PR myself, however I do not own any Android-compatible devices. But I'm positive that we can get this merged before next year's storm season. :) Happy holidays! |
Thanks for this everyone! @thrillfall have you had a chance to try the latest f-droid release yet? |
Yes. Location works now. But there won't be any notification for rain or anything in the fdroid release, right? |
@thrillfall correct, that's #76. |
This reinstates the location provider for the fdroid build with yayaa/LocationManager. Using this library location is retrieved via Google Play Services (or GmsCore) or the free api depending on what is there.
This is just a proof of concept. What do you think of it?
fixes #75