Problem
Android app gets stuck sending data on closing and re-opening of pebble watch app. Usually around ~10 seconds, assuming this is a timeout?
Not sure if this a libpebble3/mobile app issue or on the PebbleKit side.
Would making the coroutine in AidlCoroutines.kt#L18 cancellable with suspendCancellableCoroutine offer a solution at all on the library side? (I am not super familiar with Kotlin, might be barking up the wrong tree).
Reproduction
- [Android Device] send a large payload to the pebble watch (1KB+)
- [Pebble App] Exit the watch app while payload is being transferred
- [Pebble App] Re-launch watch app and trigger request for more data
- [Android Device] Observe that
sendDataToPebble gets in a stuck state and no subsequent messages can be sent for 10 seconds or so
Problem
Android app gets stuck sending data on closing and re-opening of pebble watch app. Usually around ~10 seconds, assuming this is a timeout?
Not sure if this a libpebble3/mobile app issue or on the PebbleKit side.
Would making the coroutine in AidlCoroutines.kt#L18 cancellable with
suspendCancellableCoroutineoffer a solution at all on the library side? (I am not super familiar with Kotlin, might be barking up the wrong tree).Reproduction
sendDataToPebblegets in a stuck state and no subsequent messages can be sent for 10 seconds or so