Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 2.66 KB

README.md

File metadata and controls

46 lines (32 loc) · 2.66 KB

SimRa iOS App

This project is part of the SimRa research project which includes the following subprojects:

In this project, we collect – with a strong focus on data protection and privacy – data on such near crashes to identify when and where bicyclists are especially at risk. We also aim to identify the main routes of bicycle traffic in Berlin. To obtain such data, we have developed a smartphone app that uses GPS information to track routes of bicyclists and the built-in acceleration sensors to pre-categorize near crashes. After their trip, users are asked to annotate and upload the collected data, pseudonymized per trip. For more information see our website.

LICENSE

  • SimRa uses TTRangeSlider by Tom Thorpe available under the MIT license.
  • SimRa uses SSZipArchive by ZipArchive under the MIT license.
  • SimRa uses TTGSnackbar by Zekunyan under the MIT license.
  • SimRa uses Loaf by Mat Schmid under the MIT license.

Instructions

Build with Xcode 10.2 for iOS >= 11.0 Packages are integrated with the help of Cocoapods

How to Build

The suffix used in the clientHash to protect the upload is not part of the source code. To compile the project:

  • copy the file Hash-Suffix.h.sample to Hash-Suffix.h
  • replace the sample suffix #define HASH_SUFFIX @"mcc_simra"` with the suffix provided from the backend operator
  • compile

Always open SimRa.xcworkspace with Xcode, not SimRa.xcodeproj to include Cocoapods.

Features

  • Internationalization (Base (Developer), en - English and de - Deutsch languages are available and are selected by the iPhone's language settings.

    To modify, edit the following files in the en.lproj or de.lproj directories

    • Localizable.strings - for the texts set programatically
    • Main.strings - for the interface builder texts
    • constants.plist - for the text used in drop down lists