GithubHelp home page GithubHelp logo

tchigher / cwa-app-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from corona-warn-app/cwa-app-ios

0.0 0.0 0.0 15.65 MB

Native iOS app using the exposure notification framework from Apple.

License: Apache License 2.0

Shell 0.10% Swift 98.92% Ruby 0.99%

cwa-app-ios's Introduction

Corona Warn App - iOS

DevelopmentDocumentationContributeSupportChangelogLicensing

The goal of this project is to develop the official Corona-Warn-App for Germany based on the exposure notification API from Apple and Google. The apps (for both iOS and Android) use Bluetooth technology to exchange anonymous encrypted data with other mobile phones (on which the app is also installed) in the vicinity of an app user's phone. The data is stored locally on each user's device, preventing authorities or other parties from accessing or controlling the data. This repository contains the native iOS implementation of the Corona-Warn-App. This implementation is still a work in progress, and the code it contains is currently alpha-quality code.

Figure 1: UI Screens for Apple iOS

Development

Setup

Open Xcode 11.5 or higher and let the Swift Package Manager handle the rest 🎉

Build

  1. Select the right app scheme.

    We added the schema ENACommunity to our project which should enable third party developers to run and test the code. This schema uses a mocked implementation of ExposureManager in SceneDelegate and injects it into the application.

  2. Set the user-defined variable to your development team

    In project.pbxproj, set IPHONE_APP_DEV_TEAM to your development team

Build using fastlane

cd src/xcode && fastlane build_community
cd src/xcode && fastlane test

Find all available lanes: Fastfile documentation

Run

  1. Run the server locally

    If you have Docker installed locally, the overall cwa-server setup can be easily built and run (incl. dependencies) by 'docker-compose up'. More information at: https://github.com/corona-warn-app/cwa-server

  2. Configure the URL scheme

  • On your device, store a deep link that has the following structure: corona-warn-app://configure?distributionBaseURL=https://fix.me/&submissionBaseURL=https://fix.me&verificationBaseURL=https://fix.me
  • Tap on the link and then relaunch the app because the changes will only be effective in a new session. You can validate the configuration in the developer menu (triple-tap somewhere in the homescreen and click on the settings icon in the toolbar).

Architecture & Documentation

The full documentation for the Corona-Warn-App is in the cwa-documentation repository. The documentation repository contains technical documents, architecture information, UI/UX specifications, and whitepapers related to this implementation.

Support & Feedback

The following channels are available for discussions, feedback, and support requests:

Type Channel
General Discussion
Concept Feedback
iOS App Issue
Backend Issue
Other Requests

How to Contribute

Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines. By participating in this project, you agree to abide by its Code of Conduct at all times.

SwiftLint

This project uses SwiftLint to ensure a unified code style. The linter is run on every build and shows all warnings and error within Xcode's Issue Navigator.

Please ensure you have installed SwiftLint when working on this project and fix any warnings or error before committing your changes.

Use brew install swiftlint to install SwiftLint or download it manually from https://github.com/realm/SwiftLint. When not installed a warning will be triggered during build.

Contributors

The German government has asked SAP and Deutsche Telekom to develop the Corona-Warn-App for Germany as open source software. Deutsche Telekom is providing the network and mobile technology and will operate and run the backend for the app in a safe, scalable and stable manner. SAP is responsible for the app development, its framework and the underlying platform. Therefore, development teams of SAP and Deutsche Telekom are contributing to this project. At the same time our commitment to open source means that we are enabling -in fact encouraging- all interested parties to contribute and become part of its developer community.

Repositories

Repository Description
cwa-documentation Project overview, general documentation, and white papers.
cwa-app-ios Native iOS app using the Apple/Google exposure notification API.
cwa-app-android Native Android app using the Apple/Google exposure notification API.
cwa-server Backend implementation for the Apple/Google exposure notification API.
cwa-verification-server Backend implementation of the verification process.

Licensing

Copyright (c) 2020 SAP SE or an SAP affiliate company.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.

cwa-app-ios's People

Contributors

christiankienle avatar haosap avatar inf2381 avatar thomasaugsten avatar melloskitten avatar johannesrohwer avatar i336616 avatar eisvogel avatar sebastianwild avatar steins-code avatar tens0rfl0w avatar holtwick avatar christopherschmitz avatar dasdom avatar frnkschmtt avatar fbernutz avatar tkowark avatar jonahschueller avatar wenz avatar larsaugustin avatar maltej avatar robert-scheck avatar sebastianwolf-sap avatar sventiigi avatar tantalum73 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.