Skip to content

nbusy/nbusy-android

Repository files navigation

NBusy Android

Build Status

NBusy Android app. Requires Android 5.1 or higher.

Download

Get it on Google Play

Tech Stack

Android client app communicates with:

  • NBusy Server which is built on Titan Framework.
  • WebSockets over TLS for direct browser and mobile connections.
  • JWT middleware for authentication.
  • Google+ middleware for registration and authentication.

Docker

To build and run the build in a Docker container:

docker build -t nbusy-android .
docker run --name nbusy-android --rm nbusy-android

The --name flag gives our container a predictable name to make it easier to work with.The --rm flag tells docker to remove the container image when the build is done.

Once you're done, shut down the running container from another terminal window:

docker stop nbusy-android

If something goes wrong and you want to stop all containers and delete all containers & images:

# stop then delete all containers
docker stop $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
# delete all images
docker rmi -f $(docker images -q)

Updating Gradle Wrapper

Run the following command 2 times in a row:

./gradlew wrapper --gradle-distribution-url https://services.gradle.org/distributions/gradle-2.13-all.zip

and make sure that following files are updated:

gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-wrapper.properties
gradlew
gradlew.bat

Troubleshooting

  1. At the repo root: git clean -xdf.
  2. Android Studio: Clean Project then Rebuild Project.
  3. Emulator: wipe user cache or recreate new image and start it manually.
  4. Real device: Restart the device and disable then enable USB debugging.

License

Apache License 2.0