9 min read
watchOS architecture when the phone is not there
Structuring a watchOS app around a phone you cannot depend on, with the connectivity budget and the cases where the watch works alone.
Read the essayEnteror double click opens it
Topics
In this essay
- 1. Decide what the watch can do alone
- 2. Local state is the source of truth on the watch
- 3. Pick the WatchConnectivity call by delivery guarantee
- 4. Give the watch its own network path
- 5. Authentication cannot borrow the phone's session
- 6. Work with the runtime budget
- 7. Test with the phone gone
- 8. Where to draw the line