Skip to content

DistributedSystemsProject/MobileApp

Repository files navigation

Mobile App

This is the React-Native cross-platform (Android and iOS) mobile application for locking/unlocking an Arduino Device through Bluetooth.

The app works with both versions of the Server/Device (master and ecc branch, according to the selected cryptography system).

Requirements

Following the React-Native official guide you can set up your development environment (for Android and/or iOS): https://reactnative.dev/docs/environment-setup

Usage

Once you have downloaded the repository, in the App.js file, change the two fetch(), according to your server address:

fetch('https://SERVER_ADDRESS:8888/authorize-operation', { ...
fetch('https://SERVER_ADDRESS:8888/result', { ...

Then, just execute the command to build the application:

npx react-native run-android

or, if you want to run the app on an iOS device:

npx react-native run-ios

Screenshots

a) Locked device

Screen 1


b) Unlocked device

Screen 2

About

Mobile app to lock/unlock in a secure way an Arduino device via bluetooth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •