Hey guys,
I have a WatchOS 2 app with an iOS companion app. Right now I transfer the latest data from the iOS app to the watchOS 2 app via
session.updateApplicationContext
My question is whether I need to persist/save the data I receive in the watchOS2 app via the
didReceiveApplicationContext
callback?Currently, in the simulator it seems like I have to do this, because when I run the watchOS 2 app I have to also launch the iOS app and trigger a
session.updateApplicationContext
there. Only afterwards will the data appear in my watchOS2 app.However, on an actual device it seems like the WCSession is repeating the
didReceiveApplicationContext
callback, because whenever I relaunch my app it starts with pre-set data. I don't need to manually start my iOS app on the device to shovel data over.Regards,
Sebastian