Dynamic Island

Hello,

I have RouteManage, which is a Class and has following Protokolls:

  • NSObject, Codable ,ObservableObject and is an Singleton

and I have a RouteTrackingAttributes which has ActivityAttributes I tried to set let attributes = RouteTrackingAttributes() let state = RouteTrackingAttributes.ContentState(routeManager: routeManger) activity = try? Activity<RouteTrackingAttributes>.request() the update from singleton. But it dosen't work. It worked only once?

thank you for help

greeting Fabian

update: After 30 seconds the task broke up.... do you have any ideas?

Greeting

Dynamic Island
 
 
Q