Feature/snow1g migration - #288
Open
kjel80 wants to merge 2 commits into
Open
Conversation
JCenter is shut down, so switch to mavenCentral/jitpack and repoint permissionsdispatcher at its jitpack coordinates. Also disable the google-services task for non-google flavors so fdroid/github builds don't require a google-services.json file. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
kalvdans
approved these changes
Jul 6, 2026
kalvdans
left a comment
There was a problem hiding this comment.
Thanks, the weather is working again :)
This is what my AI helper did to get it building:
- Installed Java 11, Gradle, and Android SDK on macOS
- Cloned kjel80's fork (branch feature/snow1g-migration)
- Fixed dependency compatibility issues (Room, Kotlin, Moshi, LeakCanary)
- Updated compileSdkVersion to 31 for Room 2.4.3 compatibility
- Added missing android:exported="true" in AndroidManifest.xml
- Added User-Agent header to fix Nominatim access
- Built and installed the fdroidDebug flavor (Google-free)
- Weather data is now loading from the new SMHI snow1g API
(I have no merge rights, just a random user)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I like Vadret a lot, but since SMHI killed their PMP3G endpoints for weather forecasts and moved to their new snow1g API a few weeks ago, its broken. I've migrated the app to the new endpoint. First I got some Claude help to build the project and move away from jcenter()
Not tested for google play. Hopefully still FOSS. I'd be honoured if you'd use my code for a new release on f-droid (and/or Google).