Skip to content

Road to 1.0 #249

Open
Open
@nabilfreeman

Description

@nabilfreeman

Hi everybody, Nabil here. I'll be a maintainer on this library going forward.

In a couple of days we'll release version 0.8 of this library which will support autolinking (RN 0.61+) and various bug fixes.

Going forward I'm working on a few improvements to this library with my team:

🚢 0.8

✅ JS tests

  • A lot of JS tests had been previously written and disabled due to many of them failing.
  • We'll complete these tests and fix any bugs that come up.

✅ Flattened project structure

  • The addons sub-packages are no longer needed to build the apps using CocoaPods so I'll move everything back up to the top level.
  • The advantage of this is that you can easily point your package.json to a git fork or branch for easier development without Lerna etc.
  • This will prevent outstanding PRs from being merged, so I've reviewed all and merged in before this.
  • I promise to help manually merge in valuable work from the outstanding PRs (I think they all need further questions or work to be ready).

✅ RN 0.63 Example Project

0.9

🚧 Stripe Intents support for EU developers

  • Setup/PaymentIntent which can be used both with Apple/Google Pay and manual card entry.
  • You'll need a back-end to implement the handshake for this.
  • Legacy Stripe will continue to be supported without any breaking changes.

Complete example projects

  • New example projects for Android and Web

1.0

Native unit tests

  • After speccing the native libraries we'll be able to add unit tests to these, so it's even easier for contributors to know that things will keep working.

Updated guides

  • We'll make clear workflow-focused guides for using this library, for example "Apple Pay with Braintree", "Google Pay with Stripe Intents", "3D Secure card entry with Stripe Intents" etc.
  • We'll improve the existing JS API spec and document the native libraries for contributors to easily follow.

Future

IAP

Native Components

  • Following in the footsteps of PKPaymentButton exposing Stripe Elements components could be helpful for some.
  • It really depends on if the vision for this library evolves into the comprehensive RN Payments library instead of just biometric payments.
  • I think it would attract a lot of developers to React Native but would require a lot of process and a large community of maintainers to pull off.

More gateways

  • I've seen requests for adding other Merchant Gateways in addition to Stripe and Braintree.
  • I totally support this, but it's difficult for me to work on these as we don't have any need for them at my business so can't really do real world testing and maintenance.

Thanks for reading! Comments appreciated. We are looking for people to help us out with the above. If you would like to take on any of these from 0.9 onwards, please get in touch.

Speak soon
Nabs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions