Skip to content

Commit 4f97ef6

Browse files
Android SDK v2.1.25 (#72)
1 parent fd77a5a commit 4f97ef6

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ dependencies {
6666
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
6767
implementation 'androidx.gridlayout:gridlayout:1.0.0'
6868

69-
implementation 'com.cashfree.pg:api:2.1.22'
69+
implementation 'com.cashfree.pg:api:2.1.25'
7070

7171
implementation "com.facebook.react:react-native:+" // From node_modules
7272
}

example/ios/CashfreePgApiExample.xcodeproj/project.pbxproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
/* Begin PBXShellScriptBuildPhase section */
254254
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
255255
isa = PBXShellScriptBuildPhase;
256-
buildActionMask = 2147483647;
256+
buildActionMask = 12;
257257
files = (
258258
);
259259
inputPaths = (
@@ -330,7 +330,7 @@
330330
};
331331
84402E77419C7456372B140E /* [CP] Embed Pods Frameworks */ = {
332332
isa = PBXShellScriptBuildPhase;
333-
buildActionMask = 2147483647;
333+
buildActionMask = 12;
334334
files = (
335335
);
336336
inputFileListPaths = (
@@ -343,11 +343,10 @@
343343
runOnlyForDeploymentPostprocessing = 0;
344344
shellPath = /bin/sh;
345345
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CashfreePgApiExample-CashfreePgApiExampleTests/Pods-CashfreePgApiExample-CashfreePgApiExampleTests-frameworks.sh\"\n";
346-
showEnvVarsInLog = 0;
347346
};
348347
8949545BB3411BD067CDFD06 /* [CP] Copy Pods Resources */ = {
349348
isa = PBXShellScriptBuildPhase;
350-
buildActionMask = 2147483647;
349+
buildActionMask = 8;
351350
files = (
352351
);
353352
inputFileListPaths = (
@@ -357,14 +356,14 @@
357356
outputFileListPaths = (
358357
"${PODS_ROOT}/Target Support Files/Pods-CashfreePgApiExample-CashfreePgApiExampleTests/Pods-CashfreePgApiExample-CashfreePgApiExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
359358
);
360-
runOnlyForDeploymentPostprocessing = 0;
359+
runOnlyForDeploymentPostprocessing = 1;
361360
shellPath = /bin/sh;
362361
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CashfreePgApiExample-CashfreePgApiExampleTests/Pods-CashfreePgApiExample-CashfreePgApiExampleTests-resources.sh\"\n";
363362
showEnvVarsInLog = 0;
364363
};
365364
E324EE1450B5D3E1FD4F5514 /* [CP] Embed Pods Frameworks */ = {
366365
isa = PBXShellScriptBuildPhase;
367-
buildActionMask = 2147483647;
366+
buildActionMask = 12;
368367
files = (
369368
);
370369
inputFileListPaths = (
@@ -377,7 +376,6 @@
377376
runOnlyForDeploymentPostprocessing = 0;
378377
shellPath = /bin/sh;
379378
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CashfreePgApiExample/Pods-CashfreePgApiExample-frameworks.sh\"\n";
380-
showEnvVarsInLog = 0;
381379
};
382380
FD10A7F022414F080027D42C /* Start Packager */ = {
383381
isa = PBXShellScriptBuildPhase;

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ target 'CashfreePgApiExample' do
5757
)
5858
__apply_Xcode_12_5_M1_post_install_workaround(installer)
5959
end
60-
pod 'CashfreePG', '~> 2.0.4'
60+
pod 'CashfreePG', '~> 2.0.19'
6161
end

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@react-native-community/checkbox": "^0.5.16",
1414
"react": "18.2.0",
1515
"react-native": "0.72.4",
16-
"react-native-cashfree-pg-sdk": "^2.1.17-dev.2"
16+
"react-native-cashfree-pg-sdk": "^2.1.18-dev.1"
1717
},
1818
"devDependencies": {
1919
"@babel/core": "^7.20.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-cashfree-pg-sdk",
3-
"version": "2.1.17",
3+
"version": "2.1.18",
44
"description": "Cashfree PG Plugin for React Native",
55
"main": "lib/commonjs/index.js",
66
"module": "lib/module/index.js",

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CFPaymentGateway {
3434
CashfreePgApi.doUPIPayment(JSON.stringify(checkoutPayment));
3535
}
3636
doWebPayment(cfSession) {
37-
CashfreePgApi.doWebPayment(cfSession);
37+
CashfreePgApi.doWebPayment(JSON.stringify(cfSession));
3838
}
3939
/**
4040
* @deprecated : Instead call makePayment

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CFPaymentGateway {
5252
}
5353

5454
doWebPayment(cfSession: CFSession) {
55-
CashfreePgApi.doWebPayment(cfSession);
55+
CashfreePgApi.doWebPayment(JSON.stringify(cfSession));
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)