Posts

Post not yet marked as solved
1 Replies
255 Views
We have a VPN app with Packet Tunnel Provider for iOS. The option disconnectOnSleep from <NetworkExtension/NEVPNProtocol.h> is false. Sometimes our users experiences an issue when the process stops itself after some period of time without crashes. In the logs, everything looks Ok. The iOS versions with the reproduced issue are 16.7.2, 17.1. Memory usage of our VPN app is ~9Mb. I've implemented NEProvider's interfaces in our subclass of NEPacketTunnelProvider: override func sleep(completionHandler: @escaping () -> Void) { NSLog("Sleep") completionHandler() } override func wake() { NSLog("Wake") super.wake() } After retesting by users, I've noticed that there are multiple subsequent calls of sleep-wake, sleep-wake, sleep-wake API, but in the problem scenario, our logs and the process stops after "Sleep". I've read the post https://developer.apple.com/forums/thread/95988, and didn't get an idea: what if sleep(_:) nor wake() are not implemented - how does it affect the VPN app behaviour? Is it a correct hypothesis that sometimes the iOS kills the process silently without crash? What are the triggers that force the system to kill a VPN app?
Posted
by Hellena.
Last updated
.
Post not yet marked as solved
0 Replies
690 Views
Hello, We have misunderstanding with a quantity of crashes in different sources. In our case, we see the growth of crashes for specific product's version for last two weeks. In App Store Connect, we see about 1000 crash reports for opt-in users. On the other hand, in Xcode Organizer, the same version of the product at the same period of time have produced 1 crash that appeared on 6 devices. Doing simple math, it means that 6 devices has produced ~170 crashes in two weeks. Is that correct conclusion? I'm not sure, should I trust to this math, because the crash is flaky, and its appearance grows time to time. Is there any way to see the same numbers in Xcode Organizer and App Store Connect? For now, I'm not sure, if this one crash on 6 devices from Xcode Organizer covers all the 1000 crashes from App Store Connect. How can I be sure, that Xcode Organizer haven't missed any other kind of crashes?
Posted
by Hellena.
Last updated
.
Post not yet marked as solved
2 Replies
1.4k Views
In the AppStore Connect for an iOS-app, I have an auto-renewable subscription group with two subscriptions at the same level 1.In a Sandbox mode, I've purchased one of the subscriptions from the group and then have tried to buy another one making a crossgrade.The first one I've succeeded to purchase, but on the second payment I've got an error inside func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]):Error Domain=SSServerErrorDomain Code=3720 "You’re all set" UserInfo={NSLocalizedDescription=You’re all set}Also, for the second purchase in the app, there was a Sandbox-alert: "You're all set Your purchase was successful"Why am I getting this error and what does it mean?
Posted
by Hellena.
Last updated
.