Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/ProgrammablewalletRnSdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.static_framework = true

s.dependency 'ExpoModulesCore'
s.dependency 'CircleProgrammableWalletSDK_static', '1.4.0'
s.dependency 'CircleProgrammableWalletSDK_static', '1.4.3'

# Swift/Objective-C compatibility
s.pod_target_xcconfig = {
Expand Down
9 changes: 7 additions & 2 deletions ios/ProgrammablewalletRnSdkModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,14 @@ public class ProgrammablewalletRnSdkModule: Module {
Function("moveTaskToFront") {
DispatchQueue.main.async {
guard let sdkVc = self.sdkNavigationController else { return }
let topMostVC = UIApplication.shared.topMostViewController()
guard sdkVc.presentingViewController == nil, !sdkVc.isBeingDismissed else { return }
guard let topMostVC = UIApplication.shared.topMostViewController() else { return }
guard let presentingWindow = topMostVC.view.window else { return }
sdkVc.modalPresentationStyle = .overFullScreen
topMostVC?.present(sdkVc, animated: true)
sdkVc.view.frame = presentingWindow.bounds
// Preserve UIKit's current system safe area when re-presenting the cached controller.
sdkVc.additionalSafeAreaInsets = .zero
topMostVC.present(sdkVc, animated: true)
print("moveTaskToFront")
}
}
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@circle-fin/w3s-pw-react-native-sdk",
"version": "2.2.3",
"version": "2.2.5",
"packageManager": "yarn@1.22.22",
"description": "React Native SDK for Circle Programmable Wallet",
"main": "build/index.js",
Expand Down Expand Up @@ -91,7 +91,8 @@
"react-native": "0.81.5",
"react-test-renderer": "~19.1.0",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"yaml": "^2.8.3"
},
"peerDependencies": {
"expo": "*",
Expand All @@ -105,12 +106,12 @@
}
},
"resolutions": {
"@xmldom/xmldom": "0.8.13",
"@xmldom/xmldom": "0.8.15",
"form-data": "4.0.6",
"js-yaml": "4.3.0",
"js-yaml": "4.3.2",
"node-forge": "1.4.0",
"postcss": "8.5.22",
"undici": "6.27.0",
"postcss": "8.5.23",
"undici": "6.28.0",
"uuid": "11.1.1"
}
}
19 changes: 0 additions & 19 deletions plugins/__test__/podfile-modifier.test.js

This file was deleted.

49 changes: 0 additions & 49 deletions src/__test__/CirclePwSuccessPayload.test.ts

This file was deleted.

Loading
Loading