Commit f8b18fb1 authored by Nicolas Richard Walter Boeckh's avatar Nicolas Richard Walter Boeckh 💬

Added thoughts.

parent d3561bf8
......@@ -18,31 +18,29 @@ The idea for BLE is to use Platform specific code, ie `Platform channels`...
| ---------------------------- | ----------------------------:|
| Stay Alive ✅ And | Scan environment ✅ |
| | Scan named MAC addresses ✅ |
| | Connect to device |
| Get Battery level ✅ | Read data stream |
| | Connect to device |
| Get Battery level ✅ | Read data stream |
Testing procedure for background will include the backup system as well (ie. writing to files).
### [0.0.2] Android
Thought of firmware implementation for obfuscation / integrity verification. See issue [here](https://gitlab.unige.ch/Nicolas.Boeckh/la_app_xos/issues/4).
`BatteryService`, `BTLEHandler`, `WebsocketHandler` and the likes should be `Singletons`, to reduce load on the platform.
Also, `BTLEHandler` needs to follow an inverse paradigm to `BatteryService`, ie. it shouldn't request updates but listen to them.
User should be able to set service/characteristic UUID manually on fail.
### [0.0.2] Android
Also also, the UI and service elements of battery, bluetooth or web should be distinct.
Check on whether or not a listener can be affixed to whatever the platform is doing, consider the Kotlin/Swift equivalents to `TimerTask's`, but in the background.
Bluetooth should have at least a few tasks (discovery -> pump all MAC's and display), (connect <- ) (read ->). Event Streams ?
Thought of firmware implementation for obfuscation / integrity verification. See issue [here](https://gitlab.unige.ch/Nicolas.Boeckh/la_app_xos/issues/4).
Other option for making the service run in background: make the platform side tick once per second and notify the dart framework, may need to use a sticky notification as well.
User should be able to set service/characteristic UUID manually on fail.
___
### [0.0.2] iOS
This is a tricky one.
......@@ -59,6 +57,8 @@ TestFlight is not a "viable" option, only allows 10000 beta testers and required
Will require discussion obviously.
Idea is to use a enterprise app profile and to automate the install via batch script / iTunes.
### [0.0.2] Resources
- [Permissions aaS](https://www.filledstacks.com/snippet/request-permissions-in-flutter-as-a-service/)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment