Mobile app built with React Native for bike booking service with Mapbox GL and Bluetooth Low Energy
This mobile app is built with React Native and Redux. It consumes an API located here. It offers an instant bike booking service using Location and Bluetooth Low Energy interfaces.
Clone the repo and install dependencies
git clone https://github.com/fnmendez/lof-mobile-app LOFMobileApp
cd LOFMobileApp
yarn
Start a development server and you will be able to run the app in your device
yarn start
If you want to use Android and iOS simulators instead, run
yarn sim
variable | use |
---|---|
API_URI | API base url for requests |
API_SECRET | API secret header for security |
BLE_SERVICE_UUID | BLE Locks service UUID |
BLE_CHARACTERISTIC_UUID | BLE Locks characteristic UUID |
BLE_GET_INFO_PAYLOAD | BLE Locks command payload |
BLE_REQUEST_OPEN_PAYLOAD | BLE Locks command payload |
BLE_REQUEST_LOCK_PAYLOAD | BLE Locks command payload |
MAPBOX_TOKEN | Mapbox token |