rahim / nightwear

NightScout standalone Wear 2.0 watchface and complication
GNU General Public License v3.0
12 stars 9 forks source link

Opening settings causes crash #24

Closed rahim closed 3 years ago

rahim commented 3 years ago

This is limited to only some watches / OS versions.

Noted as failing:

Noted ok:

This makes the watchface and complication unusable because we need to open settings to set the nightscout URL.

Working theory: somehow OS version related. Possibly certificate bundle related if it's occurring when a nightscout API check occurs...?

rahim commented 3 years ago

TicWatch Pro 3 shipped with Wear OS H / Pie / 9.0. TicWatch Pro will update to at least the same.

My (working) TicWatch C2 is also on H / Pie, 9.0 (Wear OS 2.25)

rahim commented 3 years ago

The crash occurs reliably in the most recent 9.0 / SDK28 Wear emulator with current master.

rahim commented 3 years ago

8.0 / SDK26 behaves fine (Android Studio 4.1.3, Wear 2.8.0.182911771, Security Patch level Nov 2017)

rahim commented 3 years ago

The log for the emulator showed an error relating to Intent flags, we can manually add this seemingly safely given the watch context we're working in (where history/nav isn't likely to be broken by this).