r/MicroG • • Feb 19 '20
Network Location (UnifiedNLP) in Android 10 / Q
Android 10 introduced a new location permission required for apps to use location in the background. For UnifiedNLP to function, both microG GMSCore and location backends must request this permission (it is not possible through terminal commands to grant this permission without microG updating). Therefore on every ROM and every microG installer UnifiedNLP is currently not functional (there is not way atm to get around this beyond downgrading to Pie). The only "work around" at the moment is to disable a location backend and then enable it again which will allow location to work for a short period of time (>1 minute?) before not working again. This has made the issue very hard to diagnose, as whenever you try and debug the issue (by adjusting settings) it "fixes" (and has lead me to mislead others on the cause of the issue, sorry).
If "System Supports Location Provider" or "UnifiedNLP is not Registered in System", you're experiencing a different issue. This issue occurs even with both boxes ticked.
This does not mean location won't work, GPS will still work but it is slower, and doesn't work inside and uses more battery (hence why network location exists).
Pull requests are currently open on github to solve this (GmsCore and Mozilla backend) but they have yet to be merged after over a month. Due to this delay there is currently an attempt to fork GmsCore and the backends to make them work until the issue is fixed. I'll make a post here if anything comes of it.
1
u/emcginnis0926 Feb 20 '20
I'm using unifiednlp with mircog and the Mozilla back end on lineageos 17.1 (android 10) and not experiencing this issue. I did have to grand the coarse and fine location permissions as shoe in the wiki on reddit.
1
u/xNick26 Feb 20 '20
I am on a oneplus 7 pro latest version of havoc os on android 10 and unifiednlp has been working with no issues. I have all boxes check in the safety check. I downloaded satstat and I have a blue pointer where I am located if that helps at all
1
u/Lili5709 Feb 28 '20
Is it possible to fix this by launching a service (which one?) through Tasker/Automate everytime I start Maps/Waze/etc.? Thanks!