Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 822 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 822 Bytes

contact-tracer-android-app

The ContactTracer App for Android

A Contact Tracing App implementation, that uses Bluetooth Low Energy(BLE).
To be used in conjunction with contact-tracer-backend

Setup

Set the following variables with the server IP Address

//MainActivity.java
public String apiEndpoint = "<Server IP Address>/api/infected"
//LoginActivity.java
public String loginEndpoint = "<Server IP Address>/auth/login"
//RegisterActivity.java
public String loginEndpoint = "<Server IP Address>/auth/register"
//JWT_Token_Handler.java
//Ensure this JWT Secret is the same as the one used in the backend server
private static final String key = "<Base64 Encoded JWT Secret>"

Build and run the app :)