Bump IAP SDK to Android 1.6.8 / iOS 1.6.7#263
Merged
Conversation
|
|
matheuskiser
approved these changes
Jun 4, 2026
blockdavid
approved these changes
Jun 4, 2026
iOS 1.6.7 is a patch on top of 1.6.6 that fixes public-header imports in the shipped `SquareInAppPaymentsSDK` and `SquareBuyerVerificationSDK` xcframeworks. System-framework imports in public headers were using the `@import Foundation;` / `@import UIKit;` module syntax, which fails to resolve in some third party consumer build contexts (bridging headers with `-fno-modules`, mixed-language targets, etc.). 1.6.7 switches them to `#import <Framework/Framework.h>`, which works in both module and non-module contexts. ## Changes - `SquareInAppPayments.podspec` — `SquareInAppPaymentsSDK` / `SquareBuyerVerificationSDK` fallback pin `1.6.6` → `1.6.7` - `ios/internal/SQIPBuyerInternal.m` — fix a pre-existing race where `SQIPBuyerVerificationSDK.shared.verifyWithParameters:viewController:` was handed a presenter whose dismissal was still in flight. Under the new React Native architecture, `RCTFabricModalHostViewController` enforces an in-window-hierarchy check and refuses to be a presenter mid-dismissal, producing: "Attempt to present ThreeDS_SDK.CustomizedNavController ... whose view is not in the window hierarchy". Now we wait for `dismissViewControllerAnimated: completion:` to finish, re-query `activeRootViewController`, and present the verification flow from inside the completion block.
Reflects the iOS 1.6.6 → 1.6.7 bump applied in the preceding commit.
amorde
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump bundled In-App Payments SDK versions:
1.6.5→1.6.71.6.8inandroid/gradle.properties; updated documentation accordinglyiOS 1.6.6 updates the bundled NetceteraSDK to 2.5.1.0 to address the Visa Device Data Encryption Certificate expiration on 2026-06-08. iOS 1.6.7 is a follow-up patch on top of 1.6.6 that fixes public-header imports in the shipped
SquareInAppPaymentsSDKandSquareBuyerVerificationSDKxcframeworks — system-framework imports were using@importmodule syntax, which fails to resolve in some third-party consumer build contexts. 1.6.7 switches them to#import <Framework/Framework.h>, which works in both module and non-module contexts.Changes
SquareInAppPayments.podspec—SquareInAppPaymentsSDK/SquareBuyerVerificationSDKfallback1.6.5→1.6.7README.md— supported iOS version1.6.5→1.6.7package.json— plugin version2.0.0→2.0.1CHANGELOG.md— newv2.0.1entryios/internal/SQIPBuyerInternal.m— fix a pre-existing race whereSQIPBuyerVerificationSDK.shared.verifyWithParameters:viewController:was handed a presenter whose dismissal was still in flight. Under the new React Native architecture,RCTFabricModalHostViewControllerenforces an in-window-hierarchy check and refuses to be a presenter mid-dismissal, surfacing asAttempt to present ThreeDS_SDK.CustomizedNavController ... whose view is not in the window hierarchy. Now we wait fordismissViewControllerAnimated:completion:to finish, re-queryactiveRootViewController, and present the verification flow from inside the completion block.