@jimrising/easymerchantsdk-react-native 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/caches/deviceStreaming.xml +340 -0
- package/.idea/em-MobileCheckoutSDK-ReactNative.iml +9 -0
- package/.idea/misc.xml +5 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +2 -2
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +1 -1
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +9 -9
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build.gradle +1 -1
- package/ios/Classes/EasyMerchantSdk.m +2 -2
- package/ios/Pods/ViewControllers/PaymentInformation/PaymentInfoVC.swift +55 -12
- package/ios/easymerchantsdk.podspec +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="DeviceStreaming">
|
|
4
|
+
<option name="deviceSelectionList">
|
|
5
|
+
<list>
|
|
6
|
+
<PersistentDeviceSelectionData>
|
|
7
|
+
<option name="api" value="27" />
|
|
8
|
+
<option name="brand" value="DOCOMO" />
|
|
9
|
+
<option name="codename" value="F01L" />
|
|
10
|
+
<option name="id" value="F01L" />
|
|
11
|
+
<option name="manufacturer" value="FUJITSU" />
|
|
12
|
+
<option name="name" value="F-01L" />
|
|
13
|
+
<option name="screenDensity" value="360" />
|
|
14
|
+
<option name="screenX" value="720" />
|
|
15
|
+
<option name="screenY" value="1280" />
|
|
16
|
+
</PersistentDeviceSelectionData>
|
|
17
|
+
<PersistentDeviceSelectionData>
|
|
18
|
+
<option name="api" value="34" />
|
|
19
|
+
<option name="brand" value="OPPO" />
|
|
20
|
+
<option name="codename" value="OP573DL1" />
|
|
21
|
+
<option name="id" value="OP573DL1" />
|
|
22
|
+
<option name="manufacturer" value="OPPO" />
|
|
23
|
+
<option name="name" value="CPH2557" />
|
|
24
|
+
<option name="screenDensity" value="480" />
|
|
25
|
+
<option name="screenX" value="1080" />
|
|
26
|
+
<option name="screenY" value="2400" />
|
|
27
|
+
</PersistentDeviceSelectionData>
|
|
28
|
+
<PersistentDeviceSelectionData>
|
|
29
|
+
<option name="api" value="28" />
|
|
30
|
+
<option name="brand" value="DOCOMO" />
|
|
31
|
+
<option name="codename" value="SH-01L" />
|
|
32
|
+
<option name="id" value="SH-01L" />
|
|
33
|
+
<option name="manufacturer" value="SHARP" />
|
|
34
|
+
<option name="name" value="AQUOS sense2 SH-01L" />
|
|
35
|
+
<option name="screenDensity" value="480" />
|
|
36
|
+
<option name="screenX" value="1080" />
|
|
37
|
+
<option name="screenY" value="2160" />
|
|
38
|
+
</PersistentDeviceSelectionData>
|
|
39
|
+
<PersistentDeviceSelectionData>
|
|
40
|
+
<option name="api" value="34" />
|
|
41
|
+
<option name="brand" value="Lenovo" />
|
|
42
|
+
<option name="codename" value="TB370FU" />
|
|
43
|
+
<option name="id" value="TB370FU" />
|
|
44
|
+
<option name="manufacturer" value="Lenovo" />
|
|
45
|
+
<option name="name" value="Tab P12" />
|
|
46
|
+
<option name="screenDensity" value="340" />
|
|
47
|
+
<option name="screenX" value="1840" />
|
|
48
|
+
<option name="screenY" value="2944" />
|
|
49
|
+
</PersistentDeviceSelectionData>
|
|
50
|
+
<PersistentDeviceSelectionData>
|
|
51
|
+
<option name="api" value="31" />
|
|
52
|
+
<option name="brand" value="samsung" />
|
|
53
|
+
<option name="codename" value="a51" />
|
|
54
|
+
<option name="id" value="a51" />
|
|
55
|
+
<option name="manufacturer" value="Samsung" />
|
|
56
|
+
<option name="name" value="Galaxy A51" />
|
|
57
|
+
<option name="screenDensity" value="420" />
|
|
58
|
+
<option name="screenX" value="1080" />
|
|
59
|
+
<option name="screenY" value="2400" />
|
|
60
|
+
</PersistentDeviceSelectionData>
|
|
61
|
+
<PersistentDeviceSelectionData>
|
|
62
|
+
<option name="api" value="34" />
|
|
63
|
+
<option name="brand" value="google" />
|
|
64
|
+
<option name="codename" value="akita" />
|
|
65
|
+
<option name="id" value="akita" />
|
|
66
|
+
<option name="manufacturer" value="Google" />
|
|
67
|
+
<option name="name" value="Pixel 8a" />
|
|
68
|
+
<option name="screenDensity" value="420" />
|
|
69
|
+
<option name="screenX" value="1080" />
|
|
70
|
+
<option name="screenY" value="2400" />
|
|
71
|
+
</PersistentDeviceSelectionData>
|
|
72
|
+
<PersistentDeviceSelectionData>
|
|
73
|
+
<option name="api" value="33" />
|
|
74
|
+
<option name="brand" value="samsung" />
|
|
75
|
+
<option name="codename" value="b0q" />
|
|
76
|
+
<option name="id" value="b0q" />
|
|
77
|
+
<option name="manufacturer" value="Samsung" />
|
|
78
|
+
<option name="name" value="Galaxy S22 Ultra" />
|
|
79
|
+
<option name="screenDensity" value="600" />
|
|
80
|
+
<option name="screenX" value="1440" />
|
|
81
|
+
<option name="screenY" value="3088" />
|
|
82
|
+
</PersistentDeviceSelectionData>
|
|
83
|
+
<PersistentDeviceSelectionData>
|
|
84
|
+
<option name="api" value="32" />
|
|
85
|
+
<option name="brand" value="google" />
|
|
86
|
+
<option name="codename" value="bluejay" />
|
|
87
|
+
<option name="id" value="bluejay" />
|
|
88
|
+
<option name="manufacturer" value="Google" />
|
|
89
|
+
<option name="name" value="Pixel 6a" />
|
|
90
|
+
<option name="screenDensity" value="420" />
|
|
91
|
+
<option name="screenX" value="1080" />
|
|
92
|
+
<option name="screenY" value="2400" />
|
|
93
|
+
</PersistentDeviceSelectionData>
|
|
94
|
+
<PersistentDeviceSelectionData>
|
|
95
|
+
<option name="api" value="34" />
|
|
96
|
+
<option name="brand" value="google" />
|
|
97
|
+
<option name="codename" value="caiman" />
|
|
98
|
+
<option name="id" value="caiman" />
|
|
99
|
+
<option name="manufacturer" value="Google" />
|
|
100
|
+
<option name="name" value="Pixel 9 Pro" />
|
|
101
|
+
<option name="screenDensity" value="360" />
|
|
102
|
+
<option name="screenX" value="960" />
|
|
103
|
+
<option name="screenY" value="2142" />
|
|
104
|
+
</PersistentDeviceSelectionData>
|
|
105
|
+
<PersistentDeviceSelectionData>
|
|
106
|
+
<option name="api" value="34" />
|
|
107
|
+
<option name="brand" value="google" />
|
|
108
|
+
<option name="codename" value="comet" />
|
|
109
|
+
<option name="id" value="comet" />
|
|
110
|
+
<option name="manufacturer" value="Google" />
|
|
111
|
+
<option name="name" value="Pixel 9 Pro Fold" />
|
|
112
|
+
<option name="screenDensity" value="390" />
|
|
113
|
+
<option name="screenX" value="2076" />
|
|
114
|
+
<option name="screenY" value="2152" />
|
|
115
|
+
</PersistentDeviceSelectionData>
|
|
116
|
+
<PersistentDeviceSelectionData>
|
|
117
|
+
<option name="api" value="29" />
|
|
118
|
+
<option name="brand" value="samsung" />
|
|
119
|
+
<option name="codename" value="crownqlteue" />
|
|
120
|
+
<option name="id" value="crownqlteue" />
|
|
121
|
+
<option name="manufacturer" value="Samsung" />
|
|
122
|
+
<option name="name" value="Galaxy Note9" />
|
|
123
|
+
<option name="screenDensity" value="420" />
|
|
124
|
+
<option name="screenX" value="2220" />
|
|
125
|
+
<option name="screenY" value="1080" />
|
|
126
|
+
</PersistentDeviceSelectionData>
|
|
127
|
+
<PersistentDeviceSelectionData>
|
|
128
|
+
<option name="api" value="34" />
|
|
129
|
+
<option name="brand" value="samsung" />
|
|
130
|
+
<option name="codename" value="dm3q" />
|
|
131
|
+
<option name="id" value="dm3q" />
|
|
132
|
+
<option name="manufacturer" value="Samsung" />
|
|
133
|
+
<option name="name" value="Galaxy S23 Ultra" />
|
|
134
|
+
<option name="screenDensity" value="600" />
|
|
135
|
+
<option name="screenX" value="1440" />
|
|
136
|
+
<option name="screenY" value="3088" />
|
|
137
|
+
</PersistentDeviceSelectionData>
|
|
138
|
+
<PersistentDeviceSelectionData>
|
|
139
|
+
<option name="api" value="34" />
|
|
140
|
+
<option name="brand" value="samsung" />
|
|
141
|
+
<option name="codename" value="e1q" />
|
|
142
|
+
<option name="id" value="e1q" />
|
|
143
|
+
<option name="manufacturer" value="Samsung" />
|
|
144
|
+
<option name="name" value="Galaxy S24" />
|
|
145
|
+
<option name="screenDensity" value="480" />
|
|
146
|
+
<option name="screenX" value="1080" />
|
|
147
|
+
<option name="screenY" value="2340" />
|
|
148
|
+
</PersistentDeviceSelectionData>
|
|
149
|
+
<PersistentDeviceSelectionData>
|
|
150
|
+
<option name="api" value="33" />
|
|
151
|
+
<option name="brand" value="google" />
|
|
152
|
+
<option name="codename" value="felix" />
|
|
153
|
+
<option name="id" value="felix" />
|
|
154
|
+
<option name="manufacturer" value="Google" />
|
|
155
|
+
<option name="name" value="Pixel Fold" />
|
|
156
|
+
<option name="screenDensity" value="420" />
|
|
157
|
+
<option name="screenX" value="2208" />
|
|
158
|
+
<option name="screenY" value="1840" />
|
|
159
|
+
</PersistentDeviceSelectionData>
|
|
160
|
+
<PersistentDeviceSelectionData>
|
|
161
|
+
<option name="api" value="34" />
|
|
162
|
+
<option name="brand" value="google" />
|
|
163
|
+
<option name="codename" value="felix" />
|
|
164
|
+
<option name="id" value="felix" />
|
|
165
|
+
<option name="manufacturer" value="Google" />
|
|
166
|
+
<option name="name" value="Pixel Fold" />
|
|
167
|
+
<option name="screenDensity" value="420" />
|
|
168
|
+
<option name="screenX" value="2208" />
|
|
169
|
+
<option name="screenY" value="1840" />
|
|
170
|
+
</PersistentDeviceSelectionData>
|
|
171
|
+
<PersistentDeviceSelectionData>
|
|
172
|
+
<option name="api" value="33" />
|
|
173
|
+
<option name="brand" value="google" />
|
|
174
|
+
<option name="codename" value="felix_camera" />
|
|
175
|
+
<option name="id" value="felix_camera" />
|
|
176
|
+
<option name="manufacturer" value="Google" />
|
|
177
|
+
<option name="name" value="Pixel Fold (Camera-enabled)" />
|
|
178
|
+
<option name="screenDensity" value="420" />
|
|
179
|
+
<option name="screenX" value="2208" />
|
|
180
|
+
<option name="screenY" value="1840" />
|
|
181
|
+
</PersistentDeviceSelectionData>
|
|
182
|
+
<PersistentDeviceSelectionData>
|
|
183
|
+
<option name="api" value="33" />
|
|
184
|
+
<option name="brand" value="samsung" />
|
|
185
|
+
<option name="codename" value="gts8uwifi" />
|
|
186
|
+
<option name="id" value="gts8uwifi" />
|
|
187
|
+
<option name="manufacturer" value="Samsung" />
|
|
188
|
+
<option name="name" value="Galaxy Tab S8 Ultra" />
|
|
189
|
+
<option name="screenDensity" value="320" />
|
|
190
|
+
<option name="screenX" value="1848" />
|
|
191
|
+
<option name="screenY" value="2960" />
|
|
192
|
+
</PersistentDeviceSelectionData>
|
|
193
|
+
<PersistentDeviceSelectionData>
|
|
194
|
+
<option name="api" value="34" />
|
|
195
|
+
<option name="brand" value="google" />
|
|
196
|
+
<option name="codename" value="husky" />
|
|
197
|
+
<option name="id" value="husky" />
|
|
198
|
+
<option name="manufacturer" value="Google" />
|
|
199
|
+
<option name="name" value="Pixel 8 Pro" />
|
|
200
|
+
<option name="screenDensity" value="390" />
|
|
201
|
+
<option name="screenX" value="1008" />
|
|
202
|
+
<option name="screenY" value="2244" />
|
|
203
|
+
</PersistentDeviceSelectionData>
|
|
204
|
+
<PersistentDeviceSelectionData>
|
|
205
|
+
<option name="api" value="30" />
|
|
206
|
+
<option name="brand" value="motorola" />
|
|
207
|
+
<option name="codename" value="java" />
|
|
208
|
+
<option name="id" value="java" />
|
|
209
|
+
<option name="manufacturer" value="Motorola" />
|
|
210
|
+
<option name="name" value="G20" />
|
|
211
|
+
<option name="screenDensity" value="280" />
|
|
212
|
+
<option name="screenX" value="720" />
|
|
213
|
+
<option name="screenY" value="1600" />
|
|
214
|
+
</PersistentDeviceSelectionData>
|
|
215
|
+
<PersistentDeviceSelectionData>
|
|
216
|
+
<option name="api" value="34" />
|
|
217
|
+
<option name="brand" value="google" />
|
|
218
|
+
<option name="codename" value="komodo" />
|
|
219
|
+
<option name="id" value="komodo" />
|
|
220
|
+
<option name="manufacturer" value="Google" />
|
|
221
|
+
<option name="name" value="Pixel 9 Pro XL" />
|
|
222
|
+
<option name="screenDensity" value="360" />
|
|
223
|
+
<option name="screenX" value="1008" />
|
|
224
|
+
<option name="screenY" value="2244" />
|
|
225
|
+
</PersistentDeviceSelectionData>
|
|
226
|
+
<PersistentDeviceSelectionData>
|
|
227
|
+
<option name="api" value="33" />
|
|
228
|
+
<option name="brand" value="google" />
|
|
229
|
+
<option name="codename" value="lynx" />
|
|
230
|
+
<option name="id" value="lynx" />
|
|
231
|
+
<option name="manufacturer" value="Google" />
|
|
232
|
+
<option name="name" value="Pixel 7a" />
|
|
233
|
+
<option name="screenDensity" value="420" />
|
|
234
|
+
<option name="screenX" value="1080" />
|
|
235
|
+
<option name="screenY" value="2400" />
|
|
236
|
+
</PersistentDeviceSelectionData>
|
|
237
|
+
<PersistentDeviceSelectionData>
|
|
238
|
+
<option name="api" value="31" />
|
|
239
|
+
<option name="brand" value="google" />
|
|
240
|
+
<option name="codename" value="oriole" />
|
|
241
|
+
<option name="id" value="oriole" />
|
|
242
|
+
<option name="manufacturer" value="Google" />
|
|
243
|
+
<option name="name" value="Pixel 6" />
|
|
244
|
+
<option name="screenDensity" value="420" />
|
|
245
|
+
<option name="screenX" value="1080" />
|
|
246
|
+
<option name="screenY" value="2400" />
|
|
247
|
+
</PersistentDeviceSelectionData>
|
|
248
|
+
<PersistentDeviceSelectionData>
|
|
249
|
+
<option name="api" value="33" />
|
|
250
|
+
<option name="brand" value="google" />
|
|
251
|
+
<option name="codename" value="panther" />
|
|
252
|
+
<option name="id" value="panther" />
|
|
253
|
+
<option name="manufacturer" value="Google" />
|
|
254
|
+
<option name="name" value="Pixel 7" />
|
|
255
|
+
<option name="screenDensity" value="420" />
|
|
256
|
+
<option name="screenX" value="1080" />
|
|
257
|
+
<option name="screenY" value="2400" />
|
|
258
|
+
</PersistentDeviceSelectionData>
|
|
259
|
+
<PersistentDeviceSelectionData>
|
|
260
|
+
<option name="api" value="34" />
|
|
261
|
+
<option name="brand" value="samsung" />
|
|
262
|
+
<option name="codename" value="q5q" />
|
|
263
|
+
<option name="id" value="q5q" />
|
|
264
|
+
<option name="manufacturer" value="Samsung" />
|
|
265
|
+
<option name="name" value="Galaxy Z Fold5" />
|
|
266
|
+
<option name="screenDensity" value="420" />
|
|
267
|
+
<option name="screenX" value="1812" />
|
|
268
|
+
<option name="screenY" value="2176" />
|
|
269
|
+
</PersistentDeviceSelectionData>
|
|
270
|
+
<PersistentDeviceSelectionData>
|
|
271
|
+
<option name="api" value="34" />
|
|
272
|
+
<option name="brand" value="samsung" />
|
|
273
|
+
<option name="codename" value="q6q" />
|
|
274
|
+
<option name="id" value="q6q" />
|
|
275
|
+
<option name="manufacturer" value="Samsung" />
|
|
276
|
+
<option name="name" value="Galaxy Z Fold6" />
|
|
277
|
+
<option name="screenDensity" value="420" />
|
|
278
|
+
<option name="screenX" value="1856" />
|
|
279
|
+
<option name="screenY" value="2160" />
|
|
280
|
+
</PersistentDeviceSelectionData>
|
|
281
|
+
<PersistentDeviceSelectionData>
|
|
282
|
+
<option name="api" value="30" />
|
|
283
|
+
<option name="brand" value="google" />
|
|
284
|
+
<option name="codename" value="r11" />
|
|
285
|
+
<option name="id" value="r11" />
|
|
286
|
+
<option name="manufacturer" value="Google" />
|
|
287
|
+
<option name="name" value="Pixel Watch" />
|
|
288
|
+
<option name="screenDensity" value="320" />
|
|
289
|
+
<option name="screenX" value="384" />
|
|
290
|
+
<option name="screenY" value="384" />
|
|
291
|
+
<option name="type" value="WEAR_OS" />
|
|
292
|
+
</PersistentDeviceSelectionData>
|
|
293
|
+
<PersistentDeviceSelectionData>
|
|
294
|
+
<option name="api" value="30" />
|
|
295
|
+
<option name="brand" value="google" />
|
|
296
|
+
<option name="codename" value="redfin" />
|
|
297
|
+
<option name="id" value="redfin" />
|
|
298
|
+
<option name="manufacturer" value="Google" />
|
|
299
|
+
<option name="name" value="Pixel 5" />
|
|
300
|
+
<option name="screenDensity" value="440" />
|
|
301
|
+
<option name="screenX" value="1080" />
|
|
302
|
+
<option name="screenY" value="2340" />
|
|
303
|
+
</PersistentDeviceSelectionData>
|
|
304
|
+
<PersistentDeviceSelectionData>
|
|
305
|
+
<option name="api" value="34" />
|
|
306
|
+
<option name="brand" value="google" />
|
|
307
|
+
<option name="codename" value="shiba" />
|
|
308
|
+
<option name="id" value="shiba" />
|
|
309
|
+
<option name="manufacturer" value="Google" />
|
|
310
|
+
<option name="name" value="Pixel 8" />
|
|
311
|
+
<option name="screenDensity" value="420" />
|
|
312
|
+
<option name="screenX" value="1080" />
|
|
313
|
+
<option name="screenY" value="2400" />
|
|
314
|
+
</PersistentDeviceSelectionData>
|
|
315
|
+
<PersistentDeviceSelectionData>
|
|
316
|
+
<option name="api" value="33" />
|
|
317
|
+
<option name="brand" value="google" />
|
|
318
|
+
<option name="codename" value="tangorpro" />
|
|
319
|
+
<option name="id" value="tangorpro" />
|
|
320
|
+
<option name="manufacturer" value="Google" />
|
|
321
|
+
<option name="name" value="Pixel Tablet" />
|
|
322
|
+
<option name="screenDensity" value="320" />
|
|
323
|
+
<option name="screenX" value="1600" />
|
|
324
|
+
<option name="screenY" value="2560" />
|
|
325
|
+
</PersistentDeviceSelectionData>
|
|
326
|
+
<PersistentDeviceSelectionData>
|
|
327
|
+
<option name="api" value="34" />
|
|
328
|
+
<option name="brand" value="google" />
|
|
329
|
+
<option name="codename" value="tokay" />
|
|
330
|
+
<option name="id" value="tokay" />
|
|
331
|
+
<option name="manufacturer" value="Google" />
|
|
332
|
+
<option name="name" value="Pixel 9" />
|
|
333
|
+
<option name="screenDensity" value="420" />
|
|
334
|
+
<option name="screenX" value="1080" />
|
|
335
|
+
<option name="screenY" value="2424" />
|
|
336
|
+
</PersistentDeviceSelectionData>
|
|
337
|
+
</list>
|
|
338
|
+
</option>
|
|
339
|
+
</component>
|
|
340
|
+
</project>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/em-MobileCheckoutSDK-ReactNative.iml" filepath="$PROJECT_DIR$/.idea/em-MobileCheckoutSDK-ReactNative.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Add the EasyMerchant SDK to your `package.json` under `dependencies`:
|
|
|
19
19
|
|
|
20
20
|
```json
|
|
21
21
|
"dependencies": {
|
|
22
|
-
|
|
22
|
+
"@jimrising/easymerchantsdk-react-native": "^2.4.1"
|
|
23
23
|
}
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -589,4 +589,4 @@ const checkPaymentReference = async (refToken) => {
|
|
|
589
589
|
- Android uses a direct object for `makePayment` and `makePaymentV2`; iOS requires a JSON string.
|
|
590
590
|
- `makePayment` on iOS requires environment initialization; `makePaymentV2` does not.
|
|
591
591
|
- Android supports event listeners; iOS uses direct method responses.
|
|
592
|
-
- **Client Token**: Required for `makePaymentV2`. Obtain via the payment intent API (`/api/v1/paymentintent`).
|
|
592
|
+
- **Client Token**: Required for `makePaymentV2`. Obtain via the payment intent API (`/api/v1/paymentintent`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Fri Oct 03 18:23:52 IST 2025
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~:!<dir>navigation"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet></merger>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/jniLibs"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/debug/jniLibs"/></dataSet></merger>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/shaders"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/debug/shaders"/></dataSet></merger>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
-- Merging decision tree log ---
|
|
2
2
|
manifest
|
|
3
|
-
ADDED from /Users/
|
|
4
|
-
INJECTED from /Users/
|
|
3
|
+
ADDED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
4
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml:1:1-2:12
|
|
5
5
|
package
|
|
6
|
-
INJECTED from /Users/
|
|
6
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml
|
|
7
7
|
xmlns:android
|
|
8
|
-
ADDED from /Users/
|
|
8
|
+
ADDED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml:1:11-69
|
|
9
9
|
uses-sdk
|
|
10
|
-
INJECTED from /Users/
|
|
11
|
-
INJECTED from /Users/
|
|
12
|
-
INJECTED from /Users/
|
|
10
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
11
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml
|
|
12
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml
|
|
13
13
|
android:targetSdkVersion
|
|
14
|
-
INJECTED from /Users/
|
|
14
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml
|
|
15
15
|
android:minSdkVersion
|
|
16
|
-
INJECTED from /Users/
|
|
16
|
+
INJECTED from /Users/piavan/Workspace/lyfecycle/lyfecycle-sample-RN-sdk/node_modules/@jimrising/easymerchantsdk-react-native/android/src/main/AndroidManifest.xml
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -88,8 +88,8 @@ dependencies {
|
|
|
88
88
|
implementation 'com.google.android.material:material:1.13.0'
|
|
89
89
|
|
|
90
90
|
// Third-party libs
|
|
91
|
-
implementation 'com.app:paysdk:1.6.3.5'
|
|
92
91
|
implementation 'androidx.browser:browser:1.8.0'
|
|
92
|
+
implementation 'com.app:paysdk:1.6.3.6'
|
|
93
93
|
implementation 'com.hbb20:ccp:2.7.3'
|
|
94
94
|
implementation 'com.github.bumptech.glide:glide:5.0.4'
|
|
95
95
|
implementation 'com.github.androidmads:QRGenerator:1.0.5'
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
#import <React/RCTLog.h>
|
|
3
3
|
#import <React/RCTBridgeModule.h>
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
#import "easymerchantsdk-Swift.h"
|
|
6
|
+
//#import <easymerchantsdk/easymerchantsdk-Swift.h>
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
@interface EasyMerchantSdk ()
|
|
@@ -1525,7 +1525,9 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
1525
1525
|
self.viewBtnShowSavedCardHeight.constant = 50
|
|
1526
1526
|
self.viewBtnShowSavedCardTopCon.constant = 20
|
|
1527
1527
|
|
|
1528
|
-
|
|
1528
|
+
// ✅ Keep "Show saved accounts" button visible for authenticatedACH
|
|
1529
|
+
if isBankAccountConnected && self.request.authenticatedACH != true {
|
|
1530
|
+
// Only hide for non-GrailPay accounts
|
|
1529
1531
|
self.viewBtnShowSavedCards.isHidden = true
|
|
1530
1532
|
self.btnShowSavedCard.isHidden = true
|
|
1531
1533
|
self.viewBtnShowSavedCardHeight.constant = 0
|
|
@@ -2611,10 +2613,17 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
2611
2613
|
// ✅ Only show saved banks when button tapped
|
|
2612
2614
|
self.getShowBankAccountsApi()
|
|
2613
2615
|
self.viewBankFields.isHidden = true
|
|
2614
|
-
self.viewSingleSavedAccount.isHidden =
|
|
2616
|
+
self.viewSingleSavedAccount.isHidden = true // ✅ Hide initially, show after API returns
|
|
2615
2617
|
self.btnNext.isHidden = true
|
|
2616
2618
|
self.btnNextHeight.constant = 0
|
|
2617
2619
|
self.btnNextTopCon.constant = 0
|
|
2620
|
+
|
|
2621
|
+
// ✅ Hide "Show Saved Accounts" button when showing the list (unless authenticatedACH)
|
|
2622
|
+
if self.request.authenticatedACH != true {
|
|
2623
|
+
self.viewBtnShowSavedCards.isHidden = true
|
|
2624
|
+
self.viewBtnShowSavedCardHeight.constant = 0
|
|
2625
|
+
self.viewBtnShowSavedCardTopCon.constant = 0
|
|
2626
|
+
}
|
|
2618
2627
|
}
|
|
2619
2628
|
}
|
|
2620
2629
|
}
|
|
@@ -3248,11 +3257,22 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
3248
3257
|
// ✅ Optionally hide abandon view if visible
|
|
3249
3258
|
self.viewGrailPayAbandon.isHidden = true
|
|
3250
3259
|
|
|
3260
|
+
// ✅ Keep "Show saved accounts" button visible for authenticatedACH
|
|
3261
|
+
// This allows users to access their regular saved accounts
|
|
3251
3262
|
if self.selectedPaymentMethod == "Bank" {
|
|
3252
|
-
self.
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3263
|
+
if self.request.authenticatedACH == true {
|
|
3264
|
+
// Keep button visible for authenticatedACH
|
|
3265
|
+
self.viewBtnShowSavedCards.isHidden = false
|
|
3266
|
+
self.btnShowSavedCard.isHidden = false
|
|
3267
|
+
self.lblBtnShowSaveCard.text = "Show Saved Accounts"
|
|
3268
|
+
self.viewBtnShowSavedCardHeight.constant = 50
|
|
3269
|
+
self.viewBtnShowSavedCardTopCon.constant = 20
|
|
3270
|
+
} else {
|
|
3271
|
+
self.viewBtnShowSavedCards.isHidden = true
|
|
3272
|
+
self.btnShowSavedCard.isHidden = true
|
|
3273
|
+
self.viewBtnShowSavedCardHeight.constant = 0
|
|
3274
|
+
self.viewBtnShowSavedCardTopCon.constant = 0
|
|
3275
|
+
}
|
|
3256
3276
|
}
|
|
3257
3277
|
}
|
|
3258
3278
|
}
|
|
@@ -3403,7 +3423,7 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
3403
3423
|
|
|
3404
3424
|
if self.selectedPaymentMethod == "Bank" {
|
|
3405
3425
|
self.viewBtnShowSavedCards.isHidden = true
|
|
3406
|
-
self.btnShowSavedCard.isHidden =
|
|
3426
|
+
self.btnShowSavedCard.isHidden = false
|
|
3407
3427
|
self.viewBtnShowSavedCardHeight.constant = 0
|
|
3408
3428
|
self.viewBtnShowSavedCardTopCon.constant = 0
|
|
3409
3429
|
}
|
|
@@ -5784,6 +5804,11 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
5784
5804
|
self.viewChangedAccount.isHidden = false
|
|
5785
5805
|
self.viewBankFields.isHidden = true
|
|
5786
5806
|
self.viewSingleSavedAccount.isHidden = true
|
|
5807
|
+
|
|
5808
|
+
// ✅ Hide "Show Saved Accounts" button when going back to saved accounts list
|
|
5809
|
+
self.viewBtnShowSavedCards.isHidden = true
|
|
5810
|
+
self.viewBtnShowSavedCardHeight.constant = 0
|
|
5811
|
+
self.viewBtnShowSavedCardTopCon.constant = 0
|
|
5787
5812
|
}
|
|
5788
5813
|
|
|
5789
5814
|
@IBAction func actionBtnAgreeTermsConditionsSingleAccountView(_ sender: UIButton) {
|
|
@@ -11807,7 +11832,7 @@ extension PaymentInfoVC: UICollectionViewDelegate, UICollectionViewDataSource, U
|
|
|
11807
11832
|
// ✅ Show saved bank only when button tapped
|
|
11808
11833
|
self.getShowBankAccountsApi()
|
|
11809
11834
|
self.viewBankFields.isHidden = true
|
|
11810
|
-
self.viewSingleSavedAccount.isHidden =
|
|
11835
|
+
self.viewSingleSavedAccount.isHidden = true // ✅ Hide initially, show after API returns
|
|
11811
11836
|
self.btnNext.isHidden = true
|
|
11812
11837
|
self.btnNextHeight.constant = 0
|
|
11813
11838
|
self.btnNextTopCon.constant = 0
|
|
@@ -12270,14 +12295,27 @@ extension PaymentInfoVC: UITableViewDelegate, UITableViewDataSource {
|
|
|
12270
12295
|
//Bank Cell
|
|
12271
12296
|
@objc func addNewBankAccountTapped(_ sender: UIButton) {
|
|
12272
12297
|
if request.authenticatedACH == true {
|
|
12273
|
-
|
|
12298
|
+
// ✅ Check if GrailPay account already exists
|
|
12299
|
+
if isBankAccountConnected {
|
|
12300
|
+
// Show existing GrailPay account view (the one shown after deep link)
|
|
12301
|
+
self.grailPayBankLinkView.isHidden = false
|
|
12302
|
+
self.viewAddNewGrailPayAccount.isHidden = true
|
|
12303
|
+
} else {
|
|
12304
|
+
// Show Link Bank Account view (initial setup)
|
|
12305
|
+
self.viewAddNewGrailPayAccount.isHidden = false
|
|
12306
|
+
self.grailPayBankLinkView.isHidden = true
|
|
12307
|
+
}
|
|
12274
12308
|
|
|
12275
12309
|
self.viewNewBankAccount.isHidden = true
|
|
12276
12310
|
self.viewSingleSavedAccount.isHidden = true
|
|
12277
12311
|
self.viewBankFields.isHidden = true
|
|
12278
|
-
|
|
12279
|
-
|
|
12280
|
-
self.
|
|
12312
|
+
|
|
12313
|
+
// ✅ Keep "Show Saved Accounts" button visible for authenticatedACH in New Account screen
|
|
12314
|
+
self.viewBtnShowSavedCards.isHidden = false
|
|
12315
|
+
self.lblBtnShowSaveCard.text = "Show Saved Accounts"
|
|
12316
|
+
self.viewBtnShowSavedCardHeight.constant = 50
|
|
12317
|
+
self.viewBtnShowSavedCardTopCon.constant = 20
|
|
12318
|
+
|
|
12281
12319
|
self.OTPView.isHidden = true
|
|
12282
12320
|
self.emailView.isHidden = true
|
|
12283
12321
|
self.viewCardFields.isHidden = true
|
|
@@ -12325,6 +12363,11 @@ extension PaymentInfoVC: UITableViewDelegate, UITableViewDataSource {
|
|
|
12325
12363
|
updateSingleBankView(for: selectedIndex)
|
|
12326
12364
|
viewSingleSavedAccount.isHidden = false
|
|
12327
12365
|
viewChangedAccount.isHidden = true
|
|
12366
|
+
|
|
12367
|
+
// ✅ Hide "Show Saved Accounts" button when a saved account is selected
|
|
12368
|
+
viewBtnShowSavedCards.isHidden = true
|
|
12369
|
+
viewBtnShowSavedCardHeight.constant = 0
|
|
12370
|
+
viewBtnShowSavedCardTopCon.constant = 0
|
|
12328
12371
|
} else {
|
|
12329
12372
|
viewSingleSavedAccount.isHidden = true
|
|
12330
12373
|
}
|