square / square/in-app-payments-react-native-plugin
Android Pay Button is required by Google
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 131
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Describe the functionality you would like to see
Google now requires developers to use the Google Pay API for the button rendering.
Usage of the PayButton API is a requirement when rendering a Google Pay payment button within your application
See https://developers.google.com/pay/api/android/guides/brand-guidelines
or https://developers.google.com/pay/api/android/guides/resources/pay-button-api
How would this feature make the plugin more useful?
Developers will be able to use it with
<GooglePayButton ... />
Additional context
- Should work with the square IAP plugin
- Maybe update to com.google.android.gms:play-services-wallet:19.4.0?
- Also a good reference to see how this works in the Google Pay react native plugin: https://github.com/google-pay/react-native-make-payment
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the plugin's GooglePayButton entry point and compare the requested Google Pay PayButton API with the linked Google Pay React Native plugin and Android API guides. Check compatibility with the Square IAP plugin and the proposed play-services-wallet 19.4.0 update; done means rendering through the required API while preserving plugin use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile, payments
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100