The goal of this open-source project is to develop and maintain the official Smittestopp mobile app in Norway based on the Exposure Notification API from Apple and Google. This repository contains the code for frontend mobile application (iOS and Android). The app uses Xamarin cross-platform solution for Exposure Notification: Nuget and Source.
If you are interested in backend server implementation, check out https://github.com/folkehelseinstituttet/Fhi.Smittestopp.Backend.
Documentation is available on GitHub here.
Common questions as well as general information about Smittestopp is available on Norwegian Institute of Public Health (Norwegian) and Helsenorge.no (English) webpages.
Branch | Status |
---|---|
master | |
dev |
iOS | Android | |
---|---|---|
Alpha (Dev) | ||
Beta | ||
Pre-production | ||
Production |
- Visual Studio 2019
- Xcode 12 or higher (iOS only)
- Clone this repository using
git clone https://github.com/folkehelseinstituttet/Fhi.Smittestopp.App.git
- Open the solution file
NDB.Covid19.sln
in Visual Studio - Restore Nuget Packages
- Build the project and run it.
The app is written in Xamarin (C#) and platform specific UI implementation (Android XML and UIStoryboards) for additional flexibility when working with UI. Overall, the solution contains four projects:
- NDB.Covid19: Contains shared business logic between iOS and Android, i.e., Exposure Notifications handler, locales, log utils, models, viewModels, services.
- NDB.Covid19.Droid: Android related code, UI Activities/Fragments, implementation of services and handlers (for Dependency Injection) etc.
- NDB.Covid19.iOS: iOS related code, UI Storyboards/ViewControllers, implementation of services and handlers (for Dependency Injection) etc.
- NDB.Covid19.Test: Unit and integration tests.
- IdentityServerMock: Contains Identity Server 4 mock for tests purposes.
Feedback and contribution are always welcome. For more information about how to contribute, refer to Contribution Guidelines. By contributing to this project, you also agree to abide by its Code of Conduct at all times.
Copyright (c) 2020 Agency for Digitisation (Denmark), 2020 Norwegian Institute of Public Health (Norway), 2020 Netcompany Group AS
Smittestopp is Open Source software released under the MIT license