Skip to content

Display avalance warnings from The Norwegian Avalanche Warning Service as Widgets on macOS, iOS and iPadOS.

License

Notifications You must be signed in to change notification settings

follesoe/iVarsom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

179 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iVarsom icon

Skredvarsel

The Skredvarsel (Avalanche warning) app is an iOS, iPadOS, and macOS application that provides daily avalanche warnings from the Norwegian Avalanche Warning Service API.

The main feature of the app is a set of beautiful widgets that can be added to the home screen on iOS and iPadOS, or the notification center on macOS. It is not intended to replace the official Varsom Regobs app, but rather complement it with an app taking full advantage of the Apple platforms. Hence the code name iVarsom.

The app is also a learning exercise for myself to learn how to build and distribute a SwiftUI app for iOS, iPadOS, watchOS, and macOS.

iOS and iPadOS

App running on iPhone 13 and iPad Pro 12.9

Download on the App Store

watchOS

App running on the Apple Watch

Download on the App Store

macOS

App running on macOS

Download on the Mac App Store

Siri Shortcuts

You can ask Siri for avalanche warnings using voice commands. The app supports both English and Norwegian phrases:

English:

  • "Get avalanche warning in Skredvarsel"
  • "Avalanche warning from Skredvarsel"
  • "Get avalanche warning for Ofoten in Skredvarsel"
  • "What is the avalanche danger in Tromsø with Skredvarsel"

Norwegian:

  • "Hent varsel i Skredvarsel"
  • "Varsel fra Skredvarsel"
  • "Hent varsel for Ofoten i Skredvarsel"
  • "Hva er skredfaren i Tromsø med Skredvarsel"

Siri will speak the danger level and warning text, and display a visual summary with the danger icon.

Video Demo

Video Demo

Beta testing

Join the beta testing group on TestFlight.

Development

Requirements

  • Xcode 26+
  • Swift 6
  • iOS 26+ / macOS 26+ / watchOS 26+

Building from Source

git clone https://github.com/follesoe/iVarsom.git
cd iVarsom
open Skredvarsel.xcodeproj

Dependencies (SwiftLocation) are resolved automatically via Swift Package Manager.

Running Tests

xcodebuild test -scheme Skredvarsel -destination 'platform=iOS Simulator,name=iPhone 16'

Architecture

The app uses SwiftUI with MVVM architecture. See CLAUDE.md for detailed architecture documentation.

Fastlane

Fastlane is used for managing App Store metadata. Metadata is split into platform-specific directories to avoid Apple's rejection for mentioning other platforms:

  • fastlane/metadata_ios/ - iOS/watchOS metadata
  • fastlane/metadata_osx/ - macOS metadata

Available lanes:

# Upload iOS metadata
fastlane ios upload_metadata

# Upload macOS metadata
fastlane ios upload_metadata_mac

# Upload to both platforms
fastlane ios upload_metadata_all

# Preview changes (dry run)
fastlane ios preview_metadata

# Download existing metadata from App Store Connect
fastlane ios download_metadata

Privacy

The app collects no user data. Location is used only to find your local avalanche region (3km accuracy) and is not stored or transmitted beyond the initial API query. See PRIVACY.md for the full privacy policy.

License

MIT License © Jonas Follesø

About

Display avalance warnings from The Norwegian Avalanche Warning Service as Widgets on macOS, iOS and iPadOS.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •