istornz / flutter_live_activities

A Flutter plugin to use iOS 16.1+ Live Activities ⛹️ & iPhone Dynamic Island 🏝️ features
https://dimitridessus.fr/
MIT License
161 stars 48 forks source link

Stall if getActivityState called with unknown UUID #53

Closed Clon1998 closed 10 months ago

Clon1998 commented 10 months ago

Hey, in my app, I store the activity IDs to do some maintenance on the backend. After each restart, I restore these IDs and try to figure out their state.

However, if an ID is unknown to the API the getActivityState method never returns/completes the future. I'd expect that either this is documented or we add a timeout/return unknown state in case the ID is not known.