2 ms·
It's not just bullshit—it's diabolical. On your iOS device, you are logged in with one Apple ID at a time. This Apple identity is the one that makes In-App Pur
by dmitryminkovsky 5y ago
It's not just bullshit—it's diabolical.
On your iOS device, you are logged in with one Apple ID at a time. This Apple identity is the one that makes In-App Purchases ("IAPs"). So if a user makes a purchase in your app signed in as "bob", and then logs out of your app and signs in as "alice", they still have that IAP. Therefore, the simplest, most correct way to have an app with IAPs and third party auth is to exclusively use Sign In With Apple, because Sign In With Apple is tied to your device's currently signed in Apple ID and all of its IAPs.
https://stackoverflow.com/questions/63272699/how-do-you-handle-auto-renewable-subscriptions-in-apps-that-have-a-non-apple-acc https://stackoverflow.com/questions/63272699/how-do-you-hand...
I considered removing my other third party auth methods but have kept them in to see how it goes... :|
- jbluepolarbear 5y agoApple account is not the same as login with Apple. IAPs have always been tied to the Apple account. It’s a pain in the ass to handle all the cases. It’s not any easier on Android either.
- dmitryminkovsky 5y agoRight, but Sign In with Apple is tied to your Apple account. I have no way to make an IAP autorenewable subscription and tie it to “bob” in my system. It’s tied to the iOS Apple account.
- jbluepolarbear 5y agoYou can’t tie it to bob. You have to look at the receipt and reward from that. So bob logs in you look at the receipt and bobs your uncle you have the subscriptions.
- dmitryminkovsky 5y agoAnd then what if, on your service, `bob` signs out and `alice` signs in? Then `alice` not only has `bob`'s subscriptions, but she also can't buy her own.
- jbluepolarbear 5y agoApple doesn’t see it that way. Apple ID has the subscription, not the the user account.
- wlesieutre 5y agoApple has supported switching between multiple user accounts on a device for years, but since you're not a school or a company, you can't have it. Buy four iPads. It's pretty stupid.
- barkerja 5y agoTechnically, you still have that capability. After the user is authenticated with their Apple ID, you can present a profile to provide username/password/email.
- dmitryminkovsky 5y agoYep, but then all username/password/emails that log on using that device share the same subscription IAPs—namely, those that belong to the Apple ID that's sign in to iOS.