justdave / nwsweatheralertswidget

Android home screen widget to display current weather alerts from the US National Weather Service
http://justdave.github.io/nwsweatheralertswidget/
Apache License 2.0
14 stars 6 forks source link

"Waiting for feed download" since December 11, 2020 #43

Closed justdave closed 3 years ago

justdave commented 3 years ago

Yep, it broke. The NWS changed something in their API that broke the app. I can also no longer push updates to the version 1.x app because it uses Android APIs that have been discontinued and current Google Play policies prevent me from updating the app as long as it's still using them. So the only way to fix this now is to finish Version 2.0 ASAP and get it pushed.

It's a decent sized undertaking though, and I'm doing this as a side project, so have to find time outside of work to work on it. If you want to help, feel free to jump in, fork it, and send me pull requests. The short version is it needs to use the NWS's new JSON/REST API instead of their Atom feeds, and it needs to use Android's new background process APIs to keep the widget updated. (which are the two biggest chunks of the back end code in the app).

See the "Rewrite in Kotlin" project (should be linked over on the right if you're viewing this in a web browser) for status and task lists.

justdave commented 3 years ago

Well, hey, I just figured out how to get the 1.x code to still build in Android Studio (just had to use Gradle 4.0 instead of 4.1.1). The bugfix for this was a 1-liner (The NWS started requiring a User-Agent header on the API requests, and the app wasn't using one). I have a 1.1.4 built now, and as soon as I can get it signed I will attempt to upload it to the Play Store. I'm not expecting them to accept it, because it's using the old background process API that they said they were banning on any app updates. But I will get it posted on the releases section on GitHub so you can always sideload it if you're in a hurry.

This was fixed in commit 388e35f3a35a15395d413f137003fdd5734df7a8

I'm still aiming to have version 2.0 out within a couple weeks, which is being mostly written from scratch with the express goal of complying with all of Google's new rules and the NWS's newer API, so that one will be pushed out via the Play Store as soon as I get it done. I've actually made good progress on it in the last week.

justdave commented 3 years ago

My signing keys are in a VMWare Fusion disk image which is on a backup of a laptop which is in for service currently, so I can't actually sign and upload the release until I get that laptop back and restore the backup :-( On Friday they told me they hoped to have it back to me by Tuesday, but as of now they still haven't shipped it, so it's looking like at least Wednesday.

justdave commented 3 years ago

OK, managed to restore a backup of the VM to my loaner laptop. Signed release is now available at https://github.com/justdave/nwsweatheralertswidget/releases/tag/v1.1.4 and has been uploaded to the Google Play store, though I'm pretty sure they're probably going to reject it because of the background process API. We shall see. :-)

justdave commented 3 years ago

Well, color me surprised. They accepted it. So it should be available in your app updates on Google Play now.