Post

Replies

Boosts

Views

Activity

StoreKit 2 and its receipt verification
Hey folks! One of my customers has problem when purchasing the in-app subscription: The operation couldn't be completed (StoreKit.VerificationResult<StoreKit.Transaction>.VerificationError error 2.) Any idea why this happens? I'm using the standard purchase verification private func checkVerified<T>(_ result: VerificationResult<T>) throws -> T {     //Check if the transaction passes StoreKit verification.     switch result {     case let .unverified(_, error):         //StoreKit has parsed the JWS but failed verification. Don't deliver content to the user.         throw error     case .verified(let safe):         //If the transaction is verified, unwrap and return it.         return safe     } }
1
0
3.3k
Dec ’21
SwiftUI, menu on macOS and the customization of the Label
Hey! It seems that Label used in the menu construction is wrapped in a system button and there is no way to change it– for example I’d like to display only the image and the image only (SFSymbol to be exact). With macOS 12 I can turn off the menu indicator or set the menuStyle (or even use custom style but the API is extremely limited; for example the Configuration doesn’t expose the label or body instances) but I can’t change the font size (of the button, not of the menu ofc) of the symbol… Does anyone figured it out?
0
0
1.2k
Aug ’21
"An Issue Occurred" when adding a credit card
An Issue OccurredYour request couldn’t be completed. Would you like to try again?Most likely the website doesn't support redirects to bank website. Any idea how to solve it?
Replies
21
Boosts
0
Views
8.7k
Activity
May ’22
StoreKit 2 and its receipt verification
Hey folks! One of my customers has problem when purchasing the in-app subscription: The operation couldn't be completed (StoreKit.VerificationResult<StoreKit.Transaction>.VerificationError error 2.) Any idea why this happens? I'm using the standard purchase verification private func checkVerified<T>(_ result: VerificationResult<T>) throws -> T {     //Check if the transaction passes StoreKit verification.     switch result {     case let .unverified(_, error):         //StoreKit has parsed the JWS but failed verification. Don't deliver content to the user.         throw error     case .verified(let safe):         //If the transaction is verified, unwrap and return it.         return safe     } }
Replies
1
Boosts
0
Views
3.3k
Activity
Dec ’21
SwiftUI, menu on macOS and the customization of the Label
Hey! It seems that Label used in the menu construction is wrapped in a system button and there is no way to change it– for example I’d like to display only the image and the image only (SFSymbol to be exact). With macOS 12 I can turn off the menu indicator or set the menuStyle (or even use custom style but the API is extremely limited; for example the Configuration doesn’t expose the label or body instances) but I can’t change the font size (of the button, not of the menu ofc) of the symbol… Does anyone figured it out?
Replies
0
Boosts
0
Views
1.2k
Activity
Aug ’21