-
Notifications
You must be signed in to change notification settings - Fork 1
Add Android Google Wallet module #5
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
Conversation
* npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline
7dfab27
to
1ce871d
Compare
Line 27 in 9baa0bf
Hi, is the |
@brunovjk Yes, it was a typo, good catch thank you :D |
ad063ed
to
dcc4c4d
Compare
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks awesome 🤩🎉 I left a couple of thoughts to discuss 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! I added some comments.
cc2e044
to
ecb30a9
Compare
* Link Google TapAndPay SDK to the library * Add checkWalletAvailability function * Update example app * Add getSecureWalletInfo function * Update example app * Move getWalletId function * Add getCardStatus function * Add getCardStatus example * Add getCardTokenStatus function * Add getCardTokenStatus example * Add addCardToWallet function * Add addCardToWallet example * Add onCardActivated event listener * Set up the repo structure (#4) * npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline * Update package name in kotlin files * Update Promise object interface methods * Update README * Fix app crashing when SDK is not verified * Unify error handling in the WalletModule * Move OnCardActivatedEvent file and update its name * Add InvalidNetworkError * Add SDK intructions to README * Add whitelisting intructions to README * Add beta tests intructions to README * Update step 3 in README * Update README * Update README * Adjust PR * Implement missing function and adjust the code * Adjust PR to comments * Change init to initialize * Fix not null assertion on currentActivity * Add removeActivityEventListener on module invalidation --------- Co-authored-by: zfurtak <[email protected]>
* Link Google TapAndPay SDK to the library * Add checkWalletAvailability function * Update example app * Add getSecureWalletInfo function * Update example app * Move getWalletId function * Add getCardStatus function * Add getCardStatus example * Add getCardTokenStatus function * Add getCardTokenStatus example * Add addCardToWallet function * Add addCardToWallet example * Add onCardActivated event listener * Set up the repo structure (#4) * npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline * Update package name in kotlin files * Update Promise object interface methods * Update README * Fix app crashing when SDK is not verified * Unify error handling in the WalletModule * Move OnCardActivatedEvent file and update its name * Add InvalidNetworkError * Add SDK intructions to README * Add whitelisting intructions to README * Add beta tests intructions to README * Update step 3 in README * Update README * Update README * Adjust PR * Implement missing function and adjust the code * Adjust PR to comments * Change init to initialize * Fix not null assertion on currentActivity * Add removeActivityEventListener on module invalidation --------- Co-authored-by: zfurtak <[email protected]>
Add checkWalletAvailability function Update example app Add getSecureWalletInfo function Update example app Move getWalletId function Add getCardStatus function Add getCardStatus example Add getCardTokenStatus function Add getCardTokenStatus example Add addCardToWallet function Add addCardToWallet example Add onCardActivated event listener Set up the repo structure (#4) * npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline Update package name in kotlin files Update Promise object interface methods Update README Fix app crashing when SDK is not verified Unify error handling in the WalletModule Move OnCardActivatedEvent file and update its name Add InvalidNetworkError Add SDK intructions to README Add whitelisting intructions to README Add beta tests intructions to README Update step 3 in README Update README Update README Adjust PR Implement missing function and adjust the code Adjust PR to comments Change init to initialize Add button component Add google path map Final version Update README Update example app Remove imageStyle Texst Change assets to svg ones Add button with svg image Fix not null assertion on currentActivity Adjusted to review comments Add new line in package.json Add Android Google Wallet module (#5) * Link Google TapAndPay SDK to the library * Add checkWalletAvailability function * Update example app * Add getSecureWalletInfo function * Update example app * Move getWalletId function * Add getCardStatus function * Add getCardStatus example * Add getCardTokenStatus function * Add getCardTokenStatus example * Add addCardToWallet function * Add addCardToWallet example * Add onCardActivated event listener * Set up the repo structure (#4) * npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline * Update package name in kotlin files * Update Promise object interface methods * Update README * Fix app crashing when SDK is not verified * Unify error handling in the WalletModule * Move OnCardActivatedEvent file and update its name * Add InvalidNetworkError * Add SDK intructions to README * Add whitelisting intructions to README * Add beta tests intructions to README * Update step 3 in README * Update README * Update README * Adjust PR * Implement missing function and adjust the code * Adjust PR to comments * Change init to initialize * Fix not null assertion on currentActivity * Add removeActivityEventListener on module invalidation --------- Co-authored-by: zfurtak <[email protected]>
* Link Google TapAndPay SDK to the library * Add checkWalletAvailability function * Update example app * Add getSecureWalletInfo function * Update example app * Move getWalletId function * Add getCardStatus function * Add getCardStatus example * Add getCardTokenStatus function * Add getCardTokenStatus example * Add addCardToWallet function * Add addCardToWallet example * Add onCardActivated event listener * Set up the repo structure (#4) * npx create-react-native-library react-native-wallet * Update CONTRIBUTING.md * Add CLA.md * Update package.jsons * Update eslint rules * Migrate yarn to npm * Update README * Update lint.yml * Update lefthook.yml * Add old arch backward compatibility * Fix eslint * Fix iOS structure for both Fabric and Paper * Add platform info to example app * Update Podfile.lock * Update publish.yml * Update package.json * Change MainActivity and MainApplication location * Update xCode scheme * Fix ESlint and Prettier * Remove unnecessary support for very old versions * Downgrafe @react-native/eslint-config * Remove web from PlatformInfo * Add Android review changes * Update package description * Add gitignore to the example app * Add iOS review changes * Remove tests * Change Wallet Specs * Add javaPackageName * Update RN to 0.76 * Remove comment * Remove react-native.config.js * Update Podfile.lock * Change package name to include expensify in it * Add review changes * Add newline * Update package name in kotlin files * Update Promise object interface methods * Update README * Fix app crashing when SDK is not verified * Unify error handling in the WalletModule * Move OnCardActivatedEvent file and update its name * Add InvalidNetworkError * Add SDK intructions to README * Add whitelisting intructions to README * Add beta tests intructions to README * Update step 3 in README * Update README * Update README * Adjust PR * Implement missing function and adjust the code * Adjust PR to comments * Change init to initialize * Fix not null assertion on currentActivity * Add removeActivityEventListener on module invalidation --------- Add Add to wallet button (#6) * Add button component * Add google path map * Update README * Change assets to svg ones * Add button with svg image * Adjusted to review comments --------- Co-authored-by: zfurtak <[email protected]>
Details
This PR adds the Android Google Wallet module. Based on @zfurtak POC
Related Issues
GH_LINK
Manual Tests
Linked PRs