Client for Mobile Manager
- Add endpoint of Mobile Manager to
local.properties:
endpoint=https://yourdomain.org:6666
- Create and add
google-services.jsonfile to./appwith enabled Google Cloud Messages( Firebase Messages ) - Build apk
./gradlew assembleDebug
Connect device and execute command(for devices with Android <6.0 remove -g param):
adb install -g ./app/build/outputs/apk/app-debug.apk;
adb shell am start -n su.elevenets.mobilemanager/.MainActivity;
adb shell am broadcast -a su.elevenets.mobilemanager.intent.Bind --es command "bind"
It installs apk, starts activity and sends broadcast message which binds client with your server.