Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e9d0049
refactor: migrate utility functions and components from ReasonML to T…
manideepk90 Jul 13, 2026
ebaa538
refactor: subscription events
manideepk90 Jul 15, 2026
2ea68fa
refactor: remove sessionHandle from context and related components
manideepk90 Jul 19, 2026
cb132fd
chore: wip android
manideepk90 Jul 20, 2026
26e0737
feat: Implement Fabric architecture for PaymentElement and CVCWidget
manideepk90 Jul 21, 2026
4957f6b
fix: ios codegen mismatch
25harsh Jul 21, 2026
40c7a8b
fix: ios codegen mismatch
25harsh Jul 21, 2026
a8647f6
refactor: remove unused element types and simplify createElements fun…
manideepk90 Jul 21, 2026
2f5fe3b
feat: Refactor Hyperswitch SDK for React Native
manideepk90 Jul 21, 2026
fd2894b
refactor: Update view handling to use UIView instead of RCTRootView i…
manideepk90 Jul 21, 2026
59a1583
chore
manideepk90 Jul 21, 2026
7cb7d13
feat: Implement HyperModuleImpl for payment sheet registration and ev…
manideepk90 Jul 21, 2026
beb2312
chore: update react-native-hyperswitch to version 0.4.5
manideepk90 Jul 22, 2026
cf22b17
chore: Refactored ReactNativeHyperswitchModule to utilize a new meth…
manideepk90 Jul 22, 2026
6edbf4d
feat: update payment status mapping and improve response handling
manideepk90 Jul 22, 2026
a2518b1
fix: refine type assignment in mapNativeResponseToPaymentResult function
manideepk90 Jul 22, 2026
1764cef
fix: refine type assignment in mapNativeResponseToPaymentResult function
manideepk90 Jul 22, 2026
7764b6a
feat: release version
manideepk90 Jul 22, 2026
69b31cc
chore: release 1.0.0-beta.1
sh-iv-am Jul 22, 2026
9943f65
chore: release version beta 2
manideepk90 Jul 23, 2026
97739b7
chore: default export
manideepk90 Jul 23, 2026
6f19a84
refactor: remove RNBridgeFactory implementation and related files
manideepk90 Jul 28, 2026
81d9902
Refactor code structure for improved readability and maintainability
manideepk90 Jul 28, 2026
fa75f62
chore: release 1.0.0-beta.2
sh-iv-am Jul 28, 2026
c7a0153
chore: Refactor code structure for improved readability and maintaina…
manideepk90 Jul 30, 2026
4a597b7
refactor: Update PaymentElementViewManager and HyperModule for new ar…
manideepk90 Jul 30, 2026
fff803a
refactor: HyperFragment and PaymentElement for improved architecture …
manideepk90 Jul 30, 2026
bdae34a
chore: optimisation JS Side
manideepk90 Aug 2, 2026
e7d711c
feat: IOS support
manideepk90 Aug 2, 2026
7fcc612
refactor: Remove redundant error logging and console statements for c…
manideepk90 Aug 2, 2026
00019ee
refactor: refactor code structure for improved readability and mainta…
manideepk90 Aug 3, 2026
c79d797
feat: Enhance StandardResult initialization and event handling
manideepk90 Aug 3, 2026
a20bc0e
feat: Update PaymentElement and utils for improved payment handling a…
manideepk90 Aug 4, 2026
3d011cb
chore: remove debug log for native event in PaymentElement component
manideepk90 Aug 4, 2026
844f53b
fix: handle promise resolution safely to prevent crashes after React …
manideepk90 Aug 4, 2026
050a5da
fix: handle promise resolution in confirmCvcPayment to prevent crashe…
manideepk90 Aug 4, 2026
45b9100
chore: v1.3.0 released
sh-iv-am Aug 4, 2026
e45d030
feat: Add HyperModule and enhance payment event handling
manideepk90 Aug 7, 2026
255d410
chore: v1.3.1 released
sh-iv-am Aug 10, 2026
436055b
chore: deps fixes
sh-iv-am Aug 10, 2026
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ lerna-debug.log*
!.yarn/releases
!.yarn/sdks
!.yarn/versions


RN76/*
RN81/*
RN85/*
2 changes: 1 addition & 1 deletion example/.bundle/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
1 change: 1 addition & 0 deletions example/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ gem 'bigdecimal'
gem 'logger'
gem 'benchmark'
gem 'mutex_m'
gem 'ffi', '= 1.17.0'
5 changes: 3 additions & 2 deletions example/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ GEM
json (>= 1.5.1)
atomos (0.1.3)
benchmark (0.5.0)
bigdecimal (4.1.1)
bigdecimal (4.1.2)
claide (1.1.0)
cocoapods (1.15.2)
addressable (~> 2.8)
Expand Down Expand Up @@ -60,7 +60,7 @@ GEM
ethon (0.18.0)
ffi (>= 1.15.0)
logger
ffi (1.17.4)
ffi (1.17.0)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
Expand Down Expand Up @@ -101,6 +101,7 @@ DEPENDENCIES
bigdecimal
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
concurrent-ruby (< 1.3.4)
ffi (= 1.17.0)
logger
mutex_m
xcodeproj (< 1.26.0)
Expand Down
35 changes: 18 additions & 17 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
<uses-permission android:name="android.permission.INTERNET" />

<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
android:supportsRtl="true">
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
android:name=".MainApplication"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.DayNight.NoActionBar"
android:usesCleartextTraffic="true">
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:exported="true"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
16 changes: 16 additions & 0 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildscript {
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
androidXBrowser = "1.8.0"
hyperswitchSdkVersion = "1.3.11"
}
repositories {
google()
Expand All @@ -18,5 +19,20 @@ buildscript {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}
allprojects {
buildscript {
repositories {
mavenLocal()
mavenCentral()
google()
}
}

repositories {
mavenLocal()
mavenCentral()
google()
}
}

apply plugin: "com.facebook.react.rootproject"
2 changes: 1 addition & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
# your application. You should enable this flag either if you want
# to write custom TurboModules/Fabric components OR use libraries that
# are providing them.
newArchEnabled=false
newArchEnabled=true

# Use this property to enable or disable the Hermes JS engine.
# If set to false, you will be using JSC instead.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@

/* Begin PBXBuildFile section */
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
72F7E3B28E114F30630DF277 /* libPods-HyperswitchSdkReactNativeExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 12103CD3452D40A91C983CDA /* libPods-HyperswitchSdkReactNativeExample.a */; };
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
814DAC397BB53F68220883B2 /* libPods-HyperswitchSdkReactNativeExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FDCAF6A217B9471A1EE15263 /* libPods-HyperswitchSdkReactNativeExample.a */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
A91E413A67F55C86385B0A58 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
12103CD3452D40A91C983CDA /* libPods-HyperswitchSdkReactNativeExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HyperswitchSdkReactNativeExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
13B07F961A680F5B00A75B9A /* HyperswitchSdkReactNativeExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HyperswitchSdkReactNativeExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = HyperswitchSdkReactNativeExample/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = HyperswitchSdkReactNativeExample/Info.plist; sourceTree = "<group>"; };
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = HyperswitchSdkReactNativeExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
51642B25516E6214359D27F6 /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HyperswitchSdkReactNativeExample.debug.xcconfig"; path = "Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample.debug.xcconfig"; sourceTree = "<group>"; };
56103E6569BFB5B984C3C28A /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HyperswitchSdkReactNativeExample.release.xcconfig"; path = "Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample.release.xcconfig"; sourceTree = "<group>"; };
36B9EC751046A1AC0BCEC3BE /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HyperswitchSdkReactNativeExample.debug.xcconfig"; path = "Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample.debug.xcconfig"; sourceTree = "<group>"; };
3A70CAD206C43D804B854079 /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HyperswitchSdkReactNativeExample.release.xcconfig"; path = "Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample.release.xcconfig"; sourceTree = "<group>"; };
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = HyperswitchSdkReactNativeExample/AppDelegate.swift; sourceTree = "<group>"; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = HyperswitchSdkReactNativeExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
FDCAF6A217B9471A1EE15263 /* libPods-HyperswitchSdkReactNativeExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HyperswitchSdkReactNativeExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
72F7E3B28E114F30630DF277 /* libPods-HyperswitchSdkReactNativeExample.a in Frameworks */,
814DAC397BB53F68220883B2 /* libPods-HyperswitchSdkReactNativeExample.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -55,7 +55,7 @@
isa = PBXGroup;
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
12103CD3452D40A91C983CDA /* libPods-HyperswitchSdkReactNativeExample.a */,
FDCAF6A217B9471A1EE15263 /* libPods-HyperswitchSdkReactNativeExample.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -92,8 +92,8 @@
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
isa = PBXGroup;
children = (
51642B25516E6214359D27F6 /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */,
56103E6569BFB5B984C3C28A /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */,
36B9EC751046A1AC0BCEC3BE /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */,
3A70CAD206C43D804B854079 /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand All @@ -105,13 +105,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "HyperswitchSdkReactNativeExample" */;
buildPhases = (
6FEC798D0C8F7B90BF7A110B /* [CP] Check Pods Manifest.lock */,
FB8C413C947BA5B750FC9CD3 /* [CP] Check Pods Manifest.lock */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
E410CC9AF576F90A48E9AEB7 /* [CP] Embed Pods Frameworks */,
98151504456E2D028649BC6B /* [CP] Copy Pods Resources */,
C7E822C2DB6A583AEABAB9B8 /* [CP] Embed Pods Frameworks */,
65FBB5BB0C2FA93945E55EE9 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -183,60 +183,60 @@
shellPath = /bin/sh;
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
};
6FEC798D0C8F7B90BF7A110B /* [CP] Check Pods Manifest.lock */ = {
65FBB5BB0C2FA93945E55EE9 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-HyperswitchSdkReactNativeExample-checkManifestLockResult.txt",
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources.sh\"\n";
showEnvVarsInLog = 0;
};
98151504456E2D028649BC6B /* [CP] Copy Pods Resources */ = {
C7E822C2DB6A583AEABAB9B8 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
E410CC9AF576F90A48E9AEB7 /* [CP] Embed Pods Frameworks */ = {
FB8C413C947BA5B750FC9CD3 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-HyperswitchSdkReactNativeExample-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HyperswitchSdkReactNativeExample/Pods-HyperswitchSdkReactNativeExample-frameworks.sh\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand All @@ -255,7 +255,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 51642B25516E6214359D27F6 /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */;
baseConfigurationReference = 36B9EC751046A1AC0BCEC3BE /* Pods-HyperswitchSdkReactNativeExample.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -283,7 +283,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 56103E6569BFB5B984C3C28A /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */;
baseConfigurationReference = 3A70CAD206C43D804B854079 /* Pods-HyperswitchSdkReactNativeExample.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
11 changes: 10 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ENV['RCT_NEW_ARCH_ENABLED'] = '1'
ENV['RCT_NEW_ARCH_ENABLED'] = '1'

# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
Expand Down Expand Up @@ -33,5 +33,14 @@ target 'HyperswitchSdkReactNativeExample' do
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)
# Fix for Xcode 26.4 build error
installer.pods_project.targets.each do |target|
if target.name == 'fmt'
target.build_configurations.each do |config|
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
end
end
end
end
end

Loading
Loading