Post

Replies

Boosts

Views

Activity

Is bluetooth available in a "locked screen" camera capture extension?
I created a locked camera capture extension as explained in Apple's documentation. I'm trying to explore the possibilities of using a bluetooth peripheral from that extension - anybody knows if this is possible? The CBCentralManagerDelegate reports .unsupported in func centralManagerDidUpdateState, even if I have provided all the permissions in Info.plist.
1
0
139
6d
Is it possible to test AppTransaction.originalAppVersion using TestFlight?
I would like to determine which app version the user first downloaded. For that, I'm using StoreKit and the originalAppVersion property of AppTransaction: let verificationResult = try await AppTransaction.shared switch verificationResult { case .verified(let appTransaction): return "\(appTransaction.originalAppVersion) (\(appTransaction.environment.rawValue))" case .unverified(let appTransaction, let verificationError): // The app transaction didn't pass StoreKit's verification. The code runs fine, but always returns "1.0" for the app version and "Sandbox" for the environment. I tried debug/release builds and even pushed a build to TestFlight. Is the only way to test this to push a new App Store version that should go live?
0
0
625
May ’23