Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Android and IOS version #237

Merged
merged 61 commits into from
Jun 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
37ab228
Upgrade Android and IOS version
mansi-square Apr 23, 2024
9a242d7
Update main.yml
mansi-square Apr 23, 2024
640ec26
Update main.yml
mansi-square May 20, 2024
6fd27b8
Update main.yml
mansi-square May 20, 2024
9ce9b82
Update main.yml
mansi-square May 20, 2024
b9ef877
Update main.yml
mansi-square May 20, 2024
fd50629
Update main.yml
mansi-square May 20, 2024
350b308
Update main.yml
mansi-square May 20, 2024
c5dcd00
Update Podfile
mansi-square May 20, 2024
c9ac21d
Update RNSquareInAppPayments.podspec
mansi-square May 20, 2024
d490ba6
Update RNSquareInAppPayments.podspec
mansi-square May 20, 2024
4f3e492
Update project.pbxproj
mansi-square May 21, 2024
b4338c9
Upgraded React-Native version
mansi-square May 23, 2024
9f9f905
Update main.yml
mansi-square May 23, 2024
9a7cd5c
Create yarn.lock
mansi-square May 24, 2024
40e7693
Update package.json
mansi-square May 24, 2024
1e8505f
updated version
mansi-square May 24, 2024
3a678b8
Update Utilities.test.ts
mansi-square May 24, 2024
3327512
Update Utilities.test.ts
mansi-square May 24, 2024
d55f52a
Update Utilities.test.ts
mansi-square May 24, 2024
01be263
Update main.yml
mansi-square May 24, 2024
23f8a63
Update main.yml
mansi-square May 24, 2024
97a1b7e
Update .babelrc
mansi-square May 24, 2024
6a1be20
Update .babelrc
mansi-square May 26, 2024
cdb92e4
Update .babelrc
mansi-square May 26, 2024
090796d
Update jest.config.js
mansi-square May 26, 2024
bd8b9b1
Update jest.config.js
mansi-square May 26, 2024
6ceb763
Update package.json
mansi-square May 27, 2024
5043e1b
Update main.yml
mansi-square May 27, 2024
c5ed2b1
Update main.yml
mansi-square May 27, 2024
0aa3f10
Update main.yml
mansi-square May 27, 2024
76d65bc
Update main.yml
mansi-square May 27, 2024
9e5ff92
Update main.yml
mansi-square May 27, 2024
a9c3742
Update main.yml
mansi-square May 27, 2024
eed7a8e
Update main.yml
mansi-square May 27, 2024
40462e4
Update main.yml
mansi-square May 27, 2024
ea4eaac
Update main.yml
mansi-square May 27, 2024
b3f255f
Update main.yml
mansi-square May 27, 2024
76c76bd
Update main.yml
mansi-square May 27, 2024
d0fa798
Update HomeScreen.tsx
mansi-square May 27, 2024
013895a
Update metro.config.js
mansi-square May 27, 2024
47d6671
Update metro.config.js
mansi-square May 27, 2024
a79039e
Update .eslintrc.js
mansi-square May 27, 2024
a3aad15
update .eslintrc.js
mansi-square May 27, 2024
fdfaa78
Update .eslintrc.js
mansi-square May 27, 2024
2f0d8d8
Update .eslintrc.js
mansi-square May 27, 2024
8644e2d
Update package.json
mansi-square May 27, 2024
1ac74d5
Update package.json
mansi-square May 27, 2024
3ae4eaf
update metro config
mansi-square May 27, 2024
58eb012
update metro config
mansi-square May 27, 2024
e7a37f4
removed icon
mansi-square May 27, 2024
d1f3a63
added reanimated
mansi-square May 27, 2024
67d76db
updated metro config
mansi-square May 27, 2024
4418754
Update main.yml
mansi-square May 27, 2024
a6f20fd
added reanimated in pods
mansi-square May 27, 2024
b482a3f
Update main.yml
mansi-square May 27, 2024
27fac51
changed podfile
mansi-square May 27, 2024
f55b25a
updated podfile
mansi-square May 27, 2024
aa6e53a
Removed Manual linking of unnecessary Pods
AJAYJ-09 Jun 3, 2024
8130818
Resolved Appdelegate issue
AJAYJ-09 Jun 3, 2024
2d32a60
Remove the setup script from the quickstart app
brandonjenniges Jun 3, 2024
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
Prev Previous commit
Next Next commit
Update Utilities.test.ts
  • Loading branch information
mansi-square committed May 24, 2024
commit d55f52af8391068844cc0e8e6da51c85242ef1ea
6 changes: 3 additions & 3 deletions src/__test__/Utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Test Utilities', () => {
const message = 'test message';
const debugCode = 'rn_test_debug_code';
const debugMessage = 'test debug message';
const err = { message: '' };
const err = new Error();
err.message = `{ "message": "${message}", "debugCode": "${debugCode}", "debugMessage": "${debugMessage}" }`;
const inAppPaymentsError = Utilities.createInAppPayementsError(err);
expect(inAppPaymentsError.message).toBe(message);
Expand All @@ -31,15 +31,15 @@ describe('Test Utilities', () => {
});

it('createInAppPayementsError append parseEx with invalid ex.message', () => {
const err = 'Invalid Error';
const err = new Error('Invalid Error');
const inAppPaymentsError = Utilities.createInAppPayementsError(err);
expect(inAppPaymentsError.message).toBe('Invalid Error');
expect(inAppPaymentsError.debugCode).not.toBeDefined();
expect(inAppPaymentsError.parseEx).toBeDefined();
});

it('createInAppPayementsError append parseEx with invalid ex.message', () => {
const err = '';
const err = new Error('Invalid Error');
const inAppPaymentsError = Utilities.createInAppPayementsError(err);
expect(inAppPaymentsError.message).toBe('Invalid Error');
expect(inAppPaymentsError.debugCode).not.toBeDefined();
Expand Down
Loading