Posts

Post not yet marked as solved
0 Replies
811 Views
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.
Posted
by raybirk.
Last updated
.
Post not yet marked as solved
7 Replies
879 Views
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.
Posted
by raybirk.
Last updated
.