Skip to content

Feature/snow1g migration - #288

Open
kjel80 wants to merge 2 commits into
vadret:masterfrom
kjel80:feature/snow1g-migration
Open

Feature/snow1g migration#288
kjel80 wants to merge 2 commits into
vadret:masterfrom
kjel80:feature/snow1g-migration

Conversation

@kjel80

@kjel80 kjel80 commented Jul 3, 2026

Copy link
Copy Markdown

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).

Kjell Larsson and others added 2 commits July 1, 2026 13:23
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 kalvdans left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the weather is working again :)

This is what my AI helper did to get it building:

  1. Installed Java 11, Gradle, and Android SDK on macOS
  2. Cloned kjel80's fork (branch feature/snow1g-migration)
  3. Fixed dependency compatibility issues (Room, Kotlin, Moshi, LeakCanary)
  4. Updated compileSdkVersion to 31 for Room 2.4.3 compatibility
  5. Added missing android:exported="true" in AndroidManifest.xml
  6. Added User-Agent header to fix Nominatim access
  7. Built and installed the fdroidDebug flavor (Google-free)
  8. Weather data is now loading from the new SMHI snow1g API

(I have no merge rights, just a random user)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants