pocket-casts-ios
pocket-casts-ios copied to clipboard
Apple SSO: Sonos
📘 Project: #381 | 🛬 Depends on #457 |
---|
Note
📱 For the best testing experience you'll want to run this on a real device since the SIWA simulator implementation isn't fully accurate.
Syncs the user login token when preparing to connect to Sonos.
To test
Warning
I do not have access to a Sonos device so this testing trusts that handing off the token is a success.
Setup
- Enable the Feature Flag
signInWithApple
- Set your scheme to
Staging
Testing
You'll want to perform these tests with Username and Password, and Apple SSO as the flow changes touched each path.
- Login on the App
- Trigger the Sonos link by opening the app link
pktc://applink/sonos/
(You can paste this into Safari to trigger the app link) - Select Continue
- Look for the log message
Sync Token refreshed source: Sonos
to signify a non-empty sync token was returned.
Checklist
- [x] I have considered if this change warrants user-facing release notes and have added them to
CHANGELOG.md
if necessary. - [x] I have considered adding unit tests for my changes.
- [ ] I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.