Pick the fix
A user subscribes on their iPhone and opens the app on their iPad. How should the iPad know?
Hint 1 of 1
Where does the truth live?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Check Transaction.currentEntitlements at launch and listen to Transaction.updates
Correct. Entitlements sync through the user's Apple Account.
Why not the others?
- B Ask the user to tap Restore every time. Restore is only needed in rare cases.
- C Read a premium flag from iCloud key-value storage. It can go stale and be edited, and isn't the App Store's truth.
- D Email the user a code. It's unnecessary and error-prone.