React Native App¶
We decided to use React Native as the framework to create the app. The framework was chosen after conducting research into the possible frameworks (see: Research Frameworks).
Getting started¶
To use the app, you’ll need to follow a few steps. This guide will asume that you are using an Android device to run the app on, as this is the easiest way to get started and it works on all platforms.
To get started you’ll first need to setup the requirements as specified in the React Native documentation: Environment Setup.
The React Native CLI setup is required, as the “Expo” method will not work due to the native code required for the project.
Important information¶
The project will require custom code that will be platform specific for working on the lockscreen and for catching inputs from keybords. This will have an impact on how new platforms (e.g. IOS) can be added.
Lockscreen¶
The App will work above the lockscreen of the phone. When the user opens the App it will stay open. When the user locks their phone and turns the screen back on, it will show the App instantly (before they can unlock their device). The App will thus always be able to fetch keyboard input, even when the phone is locked.