-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
"Acquiring location" goes forever, breaks app #50
Comments
I have the same problem. |
same, unable to get the location on 3 devices :/ |
@lukas085 @RudolfTheOne @mszymczak-silvair check out my fix :) |
Wow, you are a real savior, thank you @makbol! |
I am unable to reproduce this issue. Can you provide more details? |
Thanks, I have found what the issue is. I could not reproduce it because I am using a different Google API key than the one included in the binaries. The account I was using to sustain the open-source free release ran out of credits in 2021, so it will not work anymore because the Geolocation API is not a free service. Also, the DigitalOcean's account, which hosts the Airqmon API droplet, will run out of credits in March, and the API will stop functioning. For transparency, the monthly costs for Airqmon were about 50$, and I am no longer willing to cover that. I covered a lot since November 2017 out of my pocket, while the only received support was from the @digitalocean open-source program and one-time donations from @thymikee and @kdzwinel. I could offset some using the free credits until now, but that's no longer an option 🤷🏼♂️ I have removed all binaries from the current and previous releases as they will no longer work. You can clone the latest release and build your own version while providing a working Google API key. The Airqmon API will keep functioning for a month or two more. |
Sad to hear it, but I totally feel you @jsynowiec. Thanks for all the time and support you provided and for keeping the app in the open. Appreciated <3 |
Mitigates #50 through replacing the Google Geolocation API with a free ip-api.com. The acquired location will have a lower accuracy because the SSID-based geolocation is now removed.
I found a free geolocation service that does not require a key. Please check the v2.1.1 release. I will remove the pre-release flag if it works for you. |
Thanks for providing context. As you mentioned, even if you fix the geolocation error there's still API service which will run out of founds in March so changing location service will not fix that issue or maybe just temporarily. Regarding new geolocation service - I tried and I'm getting an error - "communication error". I inspected that and it seems it's and Airqmon API issue now. The location was fetched successfully. |
@makbol, I would say that this is an issue with the data returned from Airly. I used your IP address and location to check the response, and you can see the same sensor station on the screenshot. I have seen in logs that some sensor stations can disappear or return incorrect data even if the station shows correctly on Airly's map 🤷🏼♂️
Well, it turned out that there was no error to start with 😉 The geolocation code in 2.1.0 works just fine. There is a different kind of issue, but I explained that in my previous comment. With the latest commits, I just tried to provide an alternative to those who cannot or do not want to pay for the Google API 😄 We will see what happens regarding the API. There are still a few months of credits left. |
I meant, the issue with geolocation :). Looks like, with new location API it's working fine now although I'm getting station which is not close to my real location. How about introducing manual mode (as an option for more advanced users) which would enable manually picking station? btw. can you please remove my ip address from screenshot? |
Sometimes it's able to acquire location, sometimes not and I can't use app. Maybe instead of automatic location, allow user to manually input sensor via settings?
I'd to help but local development guide is missing :(. Not sure what I need to be fully able to locally develop.
The text was updated successfully, but these errors were encountered: