Skip to content

Bump IAP SDK to Android 1.6.8 / iOS 1.6.7#263

Merged
Armaxis merged 3 commits into
masterfrom
artem/devmob-971/bump-iap-sdk-1.6.6
Jun 5, 2026
Merged

Bump IAP SDK to Android 1.6.8 / iOS 1.6.7#263
Armaxis merged 3 commits into
masterfrom
artem/devmob-971/bump-iap-sdk-1.6.6

Conversation

@Armaxis

@Armaxis Armaxis commented Jun 4, 2026

Copy link
Copy Markdown
Member

Summary

Bump bundled In-App Payments SDK versions:

  • iOS: 1.6.51.6.7
  • Android: already at 1.6.8 in android/gradle.properties; updated documentation accordingly

iOS 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 SquareInAppPaymentsSDK and SquareBuyerVerificationSDK xcframeworks — system-framework imports were using @import module 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.podspecSquareInAppPaymentsSDK / SquareBuyerVerificationSDK fallback 1.6.51.6.7
  • README.md — supported iOS version 1.6.51.6.7
  • package.json — plugin version 2.0.02.0.1
  • CHANGELOG.md — new v2.0.1 entry
  • 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, surfacing as 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.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.
@Armaxis Armaxis changed the title Bump IAP SDK to Android 1.6.8 / iOS 1.6.6 Bump IAP SDK to Android 1.6.8 / iOS 1.6.7 Jun 4, 2026
Reflects the iOS 1.6.6 → 1.6.7 bump applied in the preceding commit.
@Armaxis Armaxis merged commit 0eb3dbc into master Jun 5, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants