ios - Apple watch user session management -


how can handle user session management in apple watch? in watch os 1 can request data watch host iphone app. example or tutorial of great help. how watch apps twitter , instagram handle user sessions, covering scenarios?

i'm assuming mean session in context of authentication?

if so, way i've done (at least in watch os 1) request auth token parent app (the same 1 use operations) @ start of watch app remains cached in parent app later service calls.

if valid token isn't found or expires, parent app call authentication method in service retrieve one. if fails, watch app display global message saying user must update credentials phone before continuing.


Comments