Skip to content

Bluezone - Bảo vệ mình, bảo vệ cộng đồng

License

Notifications You must be signed in to change notification settings

nguyenducnhaty/bluezone-app

 
 

Repository files navigation


Bluezone

Protect yourself, protect the community

Bluezone is an open source software for contact tracing in COVID-19 pandemic

Installation

Step 1. Clone the bluezone repository from github:

Bluezone:

git clone https://github.com/BluezoneGlobal/bluezone-app.git --recursive

Step 2. install package.

npm install

Step 3. Start project with 2 command

npx react-native start

Android:

npx react-native run-android

Ios:

npx react-native run-ios

Native debugging

  1. Install LLDB from SDK Tools in Android-studio.

  2. In Android-studio go to Run->Edit Configurations->Debugger.

  3. Select 'Dual' or 'Native' and add the path to linphone-sdk debug libraries (build/libs-debug/ for example).

  4. Open native file and put your breakpoint on it.

  5. Make sure you are using the debug AAR in the app/build.gradle script and not the release one (to have faster builds by default the release AAR is used even for debug APK flavor).

  6. Debug app.

Building the app

If you have Android Studio, simply open the project, wait for the gradle synchronization and then build/install the app. It will download the bluezone library from our Maven repository as an AAR file so you don't have to build anything yourself.

If you don't have Android Studio, you can build and install the app using gradle:

./gradlew assembleDebug

will compile the APK file (assembleRelease to instead if you want to build a release package), and then

./gradlew installDebug

to install the generated APK in the previous step (use installRelease instead if you built a release package).

APK files are stored within ./app/build/outputs/apk/debug/ and ./app/build/outputs/apk/release/ directories.

License

Copyright © 2020 - Bluezone Global.

  • under a GNU/GPLv3 license, for free (open source). Please make sure that you understand and agree with the terms of this license before using it (see LICENSE file for details).

About

Bluezone - Bảo vệ mình, bảo vệ cộng đồng

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.7%
  • Swift 14.6%
  • Java 2.9%
  • Objective-C 2.7%
  • Ruby 1.4%
  • Starlark 0.7%