Apple Watch WatchKit Swift - Stay Signed in after delete and reinstall of Watch App

75 Views Asked by At

So currently I am leveraging the watchConnectivity framework to send a token to my WatchKit app to authenticate the user. This works perfectly! I then store this token in the watches keychain for future use, which works!

The issue I am facing is that apps like Starbucks and myFitnessPal allow the ability to: 1. Install watch app 2. log in on iOS app (sending token to watch app) 3. Now successfully signed in on watch app 4. uninstall watch app 5. re install watch app 6. with no other action other than opening the watch app they are still signed in to the watch app.

How is this being accomplished? my current understanding of WatchConnectivity framework is that it can only send and receive data, but how can I send data to the watch without ever opening the parent iOS app?

0

There are 0 best solutions below