-
Notifications
You must be signed in to change notification settings - Fork 1
Sending data stuck for 10s when pebble app closes #12
Copy link
Copy link
Open
coredevices/mobileapp
#143Description
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
sendDataToPebblegets in a stuck state and no subsequent messages can be sent for 10 seconds or so
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels