WIP Automatic upload to InfluxDB #2160

Open
tjhowse wants to merge 4 commits from tjhowse/Gadgetbridge:master into master

I'm raising this PR for discussion's sake to get some early eyes on the general structure of my solution to #2159

Any and all suggestions welcome.

I'm raising this PR for discussion's sake to get some early eyes on the general structure of my solution to https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2159 Any and all suggestions welcome.
tjhowse added 2 commits 11 months ago
tjhowse changed title from WIP to WIP Automatic upload to InfluxDB 11 months ago
tjhowse added 1 commit 11 months ago
tjhowse added 1 commit 11 months ago
Owner

Before anybody jumps in, saying that Gadgetbridge does not have a Network permission, thus cannot do this, i would like to shift this conversation back to the five years old issue #49 and rather try to think what we need to do to enable this.

We know that we would most likely do this by splitting the concerns, we have multiple options:

  1. have a build config for offline/network enabled Gadgetbridge versions/apks

  2. have Gadgetbridge to send the data via an Android Broadcast Intent and have another Gadgetbridge Network Plugin that would receive this data through an Intent Receiver. An important part of this solution is to ensure that we protect the data between these two apps in transit.

Thoughts? Should we discuss it here, in #49 or in #2159?

Before anybody jumps in, saying that Gadgetbridge does not have a Network permission, thus cannot do this, i would like to shift this conversation back to the five years old issue https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/49 and rather try to think what we need to do to enable this. We know that we would most likely do this by splitting the concerns, we have multiple options: 1. have a build config for offline/network enabled Gadgetbridge versions/apks 1. have Gadgetbridge to send the data via an Android Broadcast Intent and have another `Gadgetbridge Network Plugin` that would receive this data through an Intent Receiver. An important part of this solution is to ensure that we protect the data `between these two apps` in transit. Thoughts? Should we discuss it here, in #49 or in #2159?
Poster

I'd suggest starting with a clean slate in #2159. I have some ideas.

I'd suggest starting with a clean slate in #2159. I have some ideas.
This pull request has changes conflicting with the target branch.
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/GB.java
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.