React Native Push Provisioning v2.5.2
Fixed
-
Fixed a collision with the secure components Cocoapods name.
To ensure that this fix takes effect, delete the
ios/Pods
folder andios/Podfile.lock file
, and re-runpod install
to get a fresh cocoapods setup. -
Fixed an issue with the device type
all
not being correctly recognised incanAddCardToWallet
. Also, the device selector no longer appears unnecessarily when there is only one device available (phone or watch) for the card to be provisioned to.Important
When calling from the extension,
canAddCardToWallet
you MUST specify the device type.When calling from the app,
canAddCardToWallet
you MUST NOT include the device type. This ensures that the response, which indicates whether you need to show the Add To Wallet button or not, is in accordance with Apple's requirements. In the scenario where both phone and watch are available and the user taps Add to Wallet, they are given the option to select the desired device in the flow provided by Apple.