WangDaYeeeeee / GeometricWeather

A Material Design Weather Application
GNU Lesser General Public License v3.0
2.43k stars 187 forks source link

problem input openweather api key #377

Open gsch22 opened 2 years ago

gsch22 commented 2 years ago

I can´t input the openweather api key. In "advanced service provider settings" -> "openweather key" when touching the field of popup window it close immediately.

I downloaded from F-droid and my version is 3.102

Thanks in advance.

papjul commented 2 years ago

It is a fresh install or update? Which Android version?

I can't reproduce.

gsch22 commented 2 years ago

It's a fresh install. My Android version is 9. I'll uninstall it and I'll try again. -- Enviado con Tutanota, disfruta del correo seguro y sin publicidad.

22 jul 2022, 13:05 por @.***:

It is a fresh install or update? Which Android version?

I can't reproduce.

— Reply to this email directly, > view it on GitHub https://github.com/WangDaYeeeeee/GeometricWeather/issues/377#issuecomment-1192725199> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/A2FZQKKAGF3K25W5QK2AHBDVVLBFZANCNFSM54L35WYQ> . You are receiving this because you authored the thread.> Message ID: > <WangDaYeeeeee/GeometricWeather/issues/377/1192725199> @> github> .> com>

gsch22 commented 2 years ago

I've uninstalled it and re-install. No way, same problem :-(

gsch22 commented 2 years ago

I've found that the same problem is with "Baidu IP location" and "Metéo France" section. Only works with Accuweather section.

robsonsobral commented 2 years ago

Any time I try to change the provider, the app crashes. So I don't have time to set anything.

papjul commented 2 years ago

Any time I try to change the provider, the app crashes. So I don't have time to set anything.

You also experience crashes in Advanced provider settings or is it a different issue?

robsonsobral commented 2 years ago

It's the same thing. I guess, in case the app tries to update without an API token set, it crashes, instead of silently fails.

papjul commented 2 years ago

And you downloaded the app from F-Droid, you too? Can you try installing the F-Droid version from the Releases page of GitHub? I just want to check if F-Droid is unsetting our defined API keys somehow in the building process.

robsonsobral commented 2 years ago

Storage purged, app removed, phone restarted...

App installed from F-droid, provider changed to Open Weather and... Booooom!

Screenshot_20220724-152649_Trebuchet.png

papjul commented 2 years ago

I'm glad it works now, so you will be able to input your OpenWeather key. So it seems F-Droid building process somehow does something that cause crashes… in the meantime, keep the version you downloaded from GitHub ;)

robsonsobral commented 2 years ago

Custom API key working!

gsch22 commented 2 years ago

And you downloaded the app from F-Droid, you too? Can you try installing the F-Droid version from the Releases page of GitHub? I just want to check if F-Droid is unsetting our defined API keys somehow in the building process.

I tried this but didn't work for me.

sjdrc commented 2 years ago

I'm also running into this issue (originally installed from F-droid). Attempted fix:

The same thing happens if I try to set the key before changing the provider to OpenWeather.

I also get the same thing when selecting:

sjdrc commented 2 years ago

Hang on, I'm not sure what I did but suddenly I was able to type into the API key box. I think this happened after locking/unlocking my phone or switching apps.