@jimrising/easymerchantsdk-react-native 1.5.9 → 1.6.0

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/README.md CHANGED
@@ -7,7 +7,7 @@ To add the path of sdk in your project. Open your `package.json` file and inside
7
7
 
8
8
  ```json
9
9
  "dependencies": {
10
- "@jimrising/easymerchantsdk-react-native": "^1.5.9"
10
+ "@jimrising/easymerchantsdk-react-native": "^1.6.0"
11
11
  },
12
12
  ```
13
13
 
@@ -174,12 +174,12 @@ const App = () => {
174
174
  setLoading(true);
175
175
 
176
176
  if (Platform.OS === 'android') {
177
- const config = {
177
+ const config = {
178
178
  amount,
179
- apiKey: 'apiKey',
180
- secretKey: 'secretKey',
179
+ apiKey: 'apiKey', // replace with your apiKey
180
+ secretKey: 'secretKey', // replace with your secretKey
181
181
  jsonConfig: {
182
- environment: 'staging', // lowercase staging, sandbox, production
182
+ environment: 'sandbox',
183
183
  amount,
184
184
  tokenOnly: false,
185
185
  currency: 'usd',
@@ -191,9 +191,9 @@ const App = () => {
191
191
  showDonate: false,
192
192
  showTotal: true,
193
193
  showSubmitButton: true,
194
- paymentMethods: ['card', 'ach'],
195
- email: 'pavan@hotmail.com',
196
- name: 'Pavan',
194
+ paymentMethod: ['card','ach'],
195
+ email: '', add your email
196
+ name: '', add your name
197
197
  fields: {
198
198
  visibility: { billing: false, additional: false },
199
199
  billing: [
@@ -216,7 +216,7 @@ const App = () => {
216
216
  allowCycles: 2,
217
217
  intervals: ['Weekly', 'Monthly'],
218
218
  recurringStartType: 'Custom',
219
- recurringStartDate: '2025-12-31',
219
+ recurringStartDate: '31/12/2026',
220
220
  },
221
221
  },
222
222
  grailPayParams: {
@@ -227,23 +227,23 @@ const App = () => {
227
227
  finderSubtitle: 'Search for your bank',
228
228
  searchPlaceholder: 'Enter bank name',
229
229
  },
230
- appearanceSettings: {
231
- theme: 'light',
232
- bodyBackgroundColor: '#eeeff2',
233
- containerBackgroundColor: '#ffffff',
234
- primaryFontColor: '#000000',
235
- secondaryFontColor: '#666666',
236
- primaryButtonBackgroundColor: '#1757d9',
237
- primaryButtonHoverColor: '#3a70df',
238
- primaryButtonFontColor: '#ffffff',
239
- secondaryButtonBackgroundColor: '#ffffff',
240
- secondaryButtonHoverColor: '#a3b1cc',
241
- secondaryButtonFontColor: '#1757d9',
242
- borderRadius: '8',
243
- fontSize: '16',
244
- fontWeight: '500',
245
- fontFamily: 'Inter, sans-serif',
246
- },
230
+ appearanceSettings: {
231
+ theme: 'dark',
232
+ bodyBackgroundColor: '#121212',
233
+ containerBackgroundColor: '#1E1E1E',
234
+ primaryFontColor: '#FFFFFF',
235
+ secondaryFontColor: '#B0B0B0',
236
+ primaryButtonBackgroundColor: '#2563EB',
237
+ primaryButtonHoverColor: '#1D4ED8',
238
+ primaryButtonFontColor: '#FFFFFF',
239
+ secondaryButtonBackgroundColor: '#374151',
240
+ secondaryButtonHoverColor: '#4B5563',
241
+ secondaryButtonFontColor: '#E5E7EB',
242
+ borderRadius: '8',
243
+ fontSize: '14',
244
+ fontWeight: '500',
245
+ fontFamily: 'Inter, sans-serif'
246
+ }
247
247
  },
248
248
  };
249
249
 
@@ -2,8 +2,8 @@
2
2
  #import <React/RCTLog.h>
3
3
  #import <React/RCTBridgeModule.h>
4
4
 
5
- #import <easymerchantsdk-Swift.h>
6
- //#import <easymerchantsdk/easymerchantsdk-Swift.h>
5
+ //#import <easymerchantsdk-Swift.h>
6
+ #import <easymerchantsdk/easymerchantsdk-Swift.h>
7
7
 
8
8
  @interface EasyMerchantSdk ()
9
9
  @property (nonatomic, strong) EasyMerchantSdkPlugin *sdkPluginInstance;
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'easymerchantsdk'
3
- s.version = '1.5.9'
3
+ s.version = '1.6.0'
4
4
  s.summary = 'A React Native SDK for Easy Merchant.'
5
5
  s.description = <<-DESC
6
6
  A React Native SDK to enable Easy Merchant functionality in mobile applications.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimrising/easymerchantsdk-react-native",
3
- "version": "1.5.9",
3
+ "version": "1.6.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {