Skip to content

Comments

Develop#39

Merged
matheuscamposbuilders merged 12 commits intomainfrom
develop
Feb 20, 2026
Merged

Develop#39
matheuscamposbuilders merged 12 commits intomainfrom
develop

Conversation

@matheuscamposbuilders
Copy link
Contributor

No description provided.

neijrbuilders and others added 12 commits January 22, 2026 10:33
…ing unused method and hardcoding tokenReferenceId
…-app-samsung-get-intent

Fix/pfc 414/handle app 2 app samsung get intent
…updates

Bumps the npm_and_yarn group with 2 updates in the / directory: @isaacs/brace-expansion and [tar](https://github.com/isaacs/node-tar).
Bumps the npm_and_yarn group with 2 updates in the /example directory: [js-yaml](https://github.com/nodeca/js-yaml) and [tar](https://github.com/isaacs/node-tar).


Updates `@isaacs/brace-expansion` from 5.0.0 to 5.0.1

Updates `tar` from 7.5.2 to 7.5.9
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.2...v7.5.9)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

Updates `tar` from 7.4.3 to 7.5.9
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.5.2...v7.5.9)

---
updated-dependencies:
- dependency-name: "@isaacs/brace-expansion"
  dependency-version: 5.0.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…npm_and_yarn-3e18b4b793

chore(deps): bump the npm_and_yarn group across 2 directories with 3 updates
… credentials timeout and remove deprecation flags.
… credentials timeout and remove deprecation flags.
…' of github-work:platformbuilders/wallet-bridge-react-native into feature/get-more-status-code-constants-of-google-wallet
…code-constants-of-google-wallet

fix: Add new Google Wallet Tap & Pay error codes
@matheuscamposbuilders matheuscamposbuilders self-assigned this Feb 20, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @matheuscamposbuilders, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates a series of updates aimed at refining the Google Wallet integration, particularly by expanding its error handling capabilities with new TapAndPay status codes. It also significantly enhances the usability of the mock wallet applications by enabling dynamic input for App2App simulation, moving away from static test data. Additionally, routine dependency updates and a package version increment ensure the project remains current and stable.

Highlights

  • Google Wallet Error Codes: Added a comprehensive set of new TapAndPay status codes and their corresponding descriptive error messages to enhance error handling and reporting within the Google Wallet implementation.
  • Mock Application Enhancements: Improved the mock applications for both Google Wallet and Samsung Wallet by introducing a configurable input field for simulating App2App data, replacing previously hardcoded values and allowing for more flexible testing.
  • Dependency Updates: Updated several project dependencies, including js-yaml, tar, and @isaacs/brace-expansion, and introduced minizlib to ensure the project uses the latest stable versions and benefits from potential bug fixes or performance improvements.
  • Package Version Bump: Incremented the main package version from 1.1.1 to 1.1.2, reflecting the accumulation of these development changes.
  • Code Formatting: Removed redundant blank lines in GoogleWalletImplementation.kt and GoogleWalletMock.kt to improve code readability and consistency.
  • Mock Module Extensions: Extended the mock Google Wallet and Samsung Wallet modules with setLogListener and removeLogListener functions, providing more control over logging in test environments.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • android/src/googleWallet/java/com/builders/wallet/googletapandpay/GoogleWalletImplementation.kt
    • Removed redundant blank lines.
  • android/src/googleWallet/java/com/builders/wallet/googletapandpay/util/ErrorCode.kt
    • Added new TapAndPay status codes and their corresponding error messages.
  • android/src/main/java/com/builders/wallet/googletapandpay/GoogleWalletMock.kt
    • Removed redundant blank lines.
  • example/yarn.lock
    • Updated js-yaml and tar versions.
    • Added minizlib dependency.
  • google-wallet-app-mock/app/src/main/java/com/google/android/gms_mock/MainActivity.kt
    • Introduced a configurable input field for simulated App2App data.
    • Updated the simulation logic to use the new input field.
    • Removed hardcoded simulated data generation.
  • package.json
    • Updated the package version to 1.1.2.
  • samsung-wallet-app-mock/app/src/main/java/com/samsung/android/spay_mock/MainActivity.kt
    • Introduced a configurable input field for simulated App2App data.
    • Removed hardcoded simulated data generation.
    • Updated the simulation logic to use the new input field.
  • src/tests/mocks/index.ts
    • Added new TAP_AND_PAY error codes to mockGoogleWalletConstants.
    • Added setLogListener and removeLogListener to mock Google and Samsung Wallet modules.
  • src/google-wallet.ios.ts
    • Added new TAP_AND_PAY error codes to iOS_STUB_CONSTANTS.
  • src/types/google-wallet.types.ts
    • Extended GoogleWalletConstants interface with new TAP_AND_PAY error codes and their descriptions.
  • yarn.lock
    • Updated tar and @isaacs/brace-expansion versions.
Activity
  • No specific human activity (comments, reviews, etc.) was provided in the context for this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@matheuscamposbuilders matheuscamposbuilders merged commit 6cd880a into main Feb 20, 2026
2 checks passed
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

Este pull request aprimora principalmente os aplicativos de mock para Google e Samsung Wallets, permitindo a entrada dinâmica de dados para testes, o que é uma ótima melhoria para a flexibilidade de desenvolvimento. Ele também inclui várias atualizações de dependência e adiciona novas constantes da API do Google Wallet. No entanto, há um problema crítico na implementação do mock do Samsung Wallet, onde a lógica de simulação App2App foi alterada incorretamente. A simulação não codifica mais o payload JSON em Base64, conforme exigido pelo fluxo do Samsung Wallet, o que fará com que os testes com este mock falhem. Uma correção é sugerida para restaurar a lógica de codificação correta, mantendo a nova flexibilidade de entrada.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants