Post

Replies

Boosts

Views

Activity

Subscriptions and iTunes account change
After the following steps:User logs in to iTunes accountUser logs in to my appUser purchases subscription through IAPUser logs in with different iTunes accountIf I change the subscription through IAP after these steps, I would get an error. That is fine but I have 2 questions:How does it know the account has been changed? Is it because the receipt of the new purchase does not agree with the previous receipt?I would like to prevent the error by blocking users from changing subscription plans if a different account is used. How can I know that a different account is used?Thanks in advance.
7
0
982
Nov ’19
iOS 14 crashes on UIHostingController.didMove(toParent:)
We're getting crash reports of our iOS app. We know approximately where in the app is having the issue but we could not reproduce it. The stack trace from one of the reports is attached. From crash report The crash is reported from iOS 14 only but not iOS 15. We still need to fix it or work around it for users of iOS 14. Searching in the forum found some similar issues about unowned variables but not this deep into the SwiftUI and UIKit code. We have also fixed a lot weak references. Noticed UIHostingController.updateKeyboardShortcutManagement() in stack trace. We don't use keyboard shortcuts directly. Is there a way to avoid this call or is it always called by UIHostingController.didMove(toParent:)? Any help is appreciated.
0
0
901
Nov ’21