From e06855373c4af1c7d77f3de1265adcaa8a6f8409 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 8 Jul 2024 09:25:47 +0300 Subject: [PATCH] {firefox,geoclue}: add positon.xyz --- etc/firefox/policies/policies.json | 6 ++++-- etc/geoclue/conf.d/positon.conf | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 etc/geoclue/conf.d/positon.conf diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index b15fe746..0dc26a6d 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -595,10 +595,12 @@ "Value": 0 }, "geo.provider.network.url": { - "Comment": "Firefox only sends connected AP that won't work due to _nomap and the server side requires more than one as well. beacondb/beacondb#8", + "Comment_beacondb": "Firefox only sends connected AP that won't work due to _nomap and the server side requires more than one as well. beacondb/beacondb#8", + "Comment_positon": "https://github.com/microg/GmsCore/issues/2237#issuecomment-2169193229", "Status": "clear", "Type": "string", - "Value": "https://beacondb.net/v1/geolocate" + "Value": "https://beacondb.net/v1/geolocate", + "Value_positon": "https://api.positon.xyz/?key=74600654-2aec-11ef-aa95-3b7218da6865" }, "image.animation.mode": { "Comment": "Preference not allowed for stability reasons. :(", diff --git a/etc/geoclue/conf.d/positon.conf b/etc/geoclue/conf.d/positon.conf new file mode 100644 index 00000000..25456211 --- /dev/null +++ b/etc/geoclue/conf.d/positon.conf @@ -0,0 +1,4 @@ +[wifi] +enable=true +# https://github.com/microg/GmsCore/issues/2237#issuecomment-2169193229 +url=https://api.positon.xyz/?key=74600654-2aec-11ef-aa95-3b7218da6865