Troubleshooting
iOS#
It doesn't work with an Expo ejected App#
Yes. It does! But to be able to work with Expo, you need to do the following adjustment in your Podfile.
After the following line:
Then, run the following commands:
After this change you should be able to run your Expo ejected app.
When running some strings are missing#
We've found that this issue is a result of MercadoPagoSDK not being exposed as Dynamic Framework. Since it's statically defined, some references get messed up and strings results missing.
To workaround this issue we recommend performing the following steps:
- Install the following plugin with ruby gem:
- Go to your app
Podfileand add the following lines at the top of the file:
- In your app
Podfilealso add the following line in the target definition:
With those steps, you'll be able to run a build of your app and see that the checkout doesn't loss strings anymore.
Android#
BackgroundColor turns gray#
Some users report an issue with FlatList and ScrollView getting a backgroundColor gray when using our library. We're currently taking efforts to see if there's an issue in the library.
As a quick workaround you can fix this by using contentContainerStyle in FlatList and ScrollView.