Post

Replies

Boosts

Views

Activity

Reply to IAP odd behaviour. Status purchased but error field is not empty
An interrupted purchase is a transaction that requires the user to perform some action outside of your app before completing their transaction. For example, the user may need to update a payment method or accept new terms and conditions before continuing with their transaction. You can test interrupted purchases in sandbox: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox Basically, there is a failed transaction with a problem that the user has to fix. If the user fixes the problem, there will be a new success transaction that you have the handle. To prevent it in code you have to listen all the time to the updatedTransactions method from SKPaymentTransactionObserver and handle all transactions that you receive.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’21
Reply to Shazamkit with AirPods
Hello, The same issue for myself, the Airpods mic does not work let inputFormat = AVAudioFormat(standardFormatWithSampleRate: audioEngine.inputNode.outputFormat(forBus: 0).sampleRate, channels: 1) audioEngine.inputNode.installTap(onBus: 0, bufferSize: 2048, format: inputFormat) { [weak session] bufferAudio, audioTime in session?.matchStreamingBuffer(bufferAudio, at: audioTime) }
Topic: Media Technologies SubTopic: Audio Tags:
Feb ’25
Reply to IAP odd behaviour. Status purchased but error field is not empty
An interrupted purchase is a transaction that requires the user to perform some action outside of your app before completing their transaction. For example, the user may need to update a payment method or accept new terms and conditions before continuing with their transaction. You can test interrupted purchases in sandbox: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_in-app_purchases_with_sandbox Basically, there is a failed transaction with a problem that the user has to fix. If the user fixes the problem, there will be a new success transaction that you have the handle. To prevent it in code you have to listen all the time to the updatedTransactions method from SKPaymentTransactionObserver and handle all transactions that you receive.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’21
Reply to Shazam CLI download
Shazam CLI is already built-in starting from macOS Ventura 13.0 Once you have the right macOS version just run shazam -h in the terminal.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Shazamkit with AirPods
Hello, The same issue for myself, the Airpods mic does not work let inputFormat = AVAudioFormat(standardFormatWithSampleRate: audioEngine.inputNode.outputFormat(forBus: 0).sampleRate, channels: 1) audioEngine.inputNode.installTap(onBus: 0, bufferSize: 2048, format: inputFormat) { [weak session] bufferAudio, audioTime in session?.matchStreamingBuffer(bufferAudio, at: audioTime) }
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Feb ’25