React Native >= 0.64
Setting up this library is a little bit trickier for IOS
rathen than Android
.
#
1. Add a Bridging HeaderSince this library uses Swift
, you'll need to generate a Bridging Header
from Xcode
.
#
2. Modify AppDelegate.mModify your app delegate like the following:
#
3. Update Podfile#
3.1. Add MercadoPagoSDKWe'll need to configure MercadoPago SDK as a dynamic framework
, in order to that we need to perform the following steps:
- Install the following plugin with
ruby gem
:
- Go to your app
Podfile
and add the following lines at the top of the file:
- In your app
Podfile
also add the following line in the target definition:
#
3.2. Disable FlipperSince this library requires use_framework
is not compatible with Flipper
:
#
4. Install PodsInstall pods by running the following commands:
With those steps fully completed, we should be able to build the IOS app accordangly.