Git Product home page Git Product logo

ble-tracker-client's Introduction

Bluetooth LE Contact Tracing Uploader.

Ultra simple app to track BLE devices on Android using the Phone's Serial Number as UUID (not private).

Together with the server, this app allows companies to track their phones when they are near each other.

Behavior

  1. Locally tracks bluetooth by exposing the Phone's Serial Number (non private)
  2. Cache a minute-by-minute database of: Contact | Time | RSSI
  3. Wake the app at every 15 minutes to scan and broadcast BLE
  4. Upload all data to a https://github.com/vitorpamplona/ble-tracker-server (not private).

Development Overview

This is a React Native app version 61.5

Requirements

  • Git
  • NVM
  • Node (10.1 or newer)
  • Yarn
  • Watchman
  • OpenJDK (for Android building and installing)
  • Android Studio (SDK, AVD)
  • CocoaPods (Required for installing iOS dependencies)
  • XCode (for iOS Dev)
  • ios-deploy (installing your app on a physical device with the CLI)

Running

Install modules: yarn install

To run, do:

For MDM

yarn run:mdm

For Android

yarn run:android

or

npx react-native run-ios --simulator="iPhone 8 Plus"

For development, the Metro IP must be the same as the Ruby ble-tracer-server server. ABD uses a reverse port scheme (default IP is "localhost") to access the Metro server. iOS uses the real IP. In order to debug iOS and Android at the same time, the Ruby server must be started with the real IP of the computer, which will be acessible by iOS devices right away. Shake the Android device and hit settings to insert the IP address of your Metro server (same as the ble-tracer-server) to make the Android devices work.

NOTE: In some cases, the abovementioned procedure leads to the error Failed to load bundle - Could not connect to development server. In these cases, kill all other react-native processes and try it again.

ble-tracker-client's People

Contributors

vitorpamplona avatar adamkopczynski avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.