Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Tide Height data field would be awesome #18

Open
bain-syrowik opened this issue Mar 5, 2024 · 1 comment
Open

A Tide Height data field would be awesome #18

bain-syrowik opened this issue Mar 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bain-syrowik
Copy link
Collaborator

Sadly it seems tricky to do this well...

There are a few restrictions with Data Fields. As I understand it:

  1. They cannot communicate with an iOS/Android companion app
    1.1 More specifically, a mobile app cannot adjust the data field's Toybox.Properties (Otherwise the mobile app could just push data to a property on a regular basis...)
  2. They can issue communication requests (as a background process), but I want this to work when I don't have my phone on me (going for a run)
  3. They may be able to access persisted content (waypoints, etc), so it might be possible to get data in that way (but hacky) Just checked this - it is only available to apps, music, and widgets :(
  4. Garmin also has "Complications" that would do exactly what we want if I wanted the tide data on a watch face... Which, honestly, would be pretty great too?

Options are as follows:

  1. Create a new app that provides all the data fields I care about for running (basically re-build the "Run" activity app), that also does the web API requests to collect tides and cache that data.
  2. Possibly use the System.Intent mechanism to launch a Run from the BCTides app and pass in valid tide data
    1.1 Is there a way to query this data from a data field???
  3. Unsatisfying, but easiest: Keep BCTides as widget, and use hot keys during an activity to launch the watch face, and from there the widgets...
@bain-syrowik bain-syrowik added the enhancement New feature or request label Mar 5, 2024
@bsyrowik
Copy link
Owner

bsyrowik commented Mar 5, 2024

Complications require api version 4.2.0 or later..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants