commit | 6fdad1d645a9b5a364e18d38c7cfb91d0a2528fd | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Wed Jun 01 10:20:33 2016 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Wed Jun 01 10:20:33 2016 -0700 |
tree | 03e2c9649aaeaa34fa44dc500bff16e067540c54 | |
parent | 3fe5e41f3c5c87868cd6809ce0352ceb6fd3f1ef [diff] |
todos: Resquest location permission at runtime to get BLE scanning to work. Marshmallow requires requesting "dangerous" permissions at runtime. As per: https://developer.android.com/training/permissions/requesting.html This made BLE discovery work for me in the todos app. Change-Id: I1e3f1a6c20f789a6434cb09a4cebe7aa44fa8c36
This is a TODOs application for Android which uses either Firebase or Syncbase as a persistence layer.
To switch between Firebase and Syncbase use: Build -> Select Build Variant
and choose between the various options (e.g., firebaseDebug
, syncbaseDebug
etc.)
The firebase app is at https://vivid-heat-7354.firebaseio.com/. Ross Wang and Alex Fandrianto manage the administration of the database.
WARNING: There is no authentication required in this demo, and the TODO list is global, accessible to all. In a real TODOs app this would not be the case of course. In the mean time, don't put anything sensitive there!