Skip to main content

React Native Push Provisioning v3.0.0.

· One min read

Overview

This release performs two main changes:

  1. Provide support for React Native's new architecture
  2. Leverage Expo modules API to simplify maintenance

With these changes in place, it is recommended to use this version of the SDK with the following versions in place:

  • React Native ~0.79
  • Expo ~53
  • React ~19

Expo modules

If you are working on a bare React Native app, you'll need to follow the instructions from Expo on how to add Expo modules in a bare React Native App.

Please notice that the automatic approach to add support relies on your native code to match the code generated by React Native 0.79. If you have files that are not updated properly, it will fail to patch them and will require your manual intervention.

Changes

Breaking changes

addCardToWallet returns a dictionary with an optional error value, instead of a string that complicated identifying problems. If error is null, then it was successfully added.

Backwards compatible improvements

canAddCardToWallet now returns a type cardStatus, constraining the string values it can return, instead of just a string.