We've deprecated this library.
πππππ Please, refer to the newer one here πππππ
https://github.com/BlackBoxVision/react-native-mercadopago-px
Home Page: https://github.com/BlackBoxVision/react-native-mercadopago-px
License: MIT License
We've deprecated this library.
πππππ Please, refer to the newer one here πππππ
https://github.com/BlackBoxVision/react-native-mercadopago-px
help please!
I have open this issue because I need to move to a more consistent approach to develop react-native libraries. react-native-create-library is a good approach for this.
This will help to solve troubles around linking this library to android/ios apps.
I canΒ΄t add the xcodeproject of mercadopagoSDK to Xcode, IΒ΄m drag but nothing happens
The idea is to convert the project to a lerna monorepo.
I get the following error when installing the component:
Android dependency 'com.android.support:support-v4' has different version for the compile (27.0.2) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution
How do I solve it? Do you need more details? Which ones?
I got this error when add manually mercado sdk . But got error undefined Object (MercadoPagoCheckoutModule.startForPayment()) method.
Please help me to solve this problem in ios and its working in android fine.
Thanks in advance.
In ios give me error "MercadoPagoSDK module not found in ios" in appDelegate.m file of library checkout_mercado_module.
In android its working fine .
And i need it to implement in ios on periority. Please tell me the solution.
Could you please add setup documentation for Android?
If we create an interface to different native MercadoPago Components we enable users to build its own checkout UX.
Hi, I'm having problems executing the sample project.
When I try to execute the example it shows me the following error:
/var/www/mp-eatq/node_modules/react-native-mercadopago-checkout/android/src/main/java/com/blackboxvision/reactnative/mercadopagocheckout/MercadoPagoCheckoutEventListener.java:19: error: MercadoPagoCheckoutEventListener is not abstract and does not override abstract method onActivityResult(Activity,int,int,Intent) in ActivityEventListener
public final class MercadoPagoCheckoutEventListener implements ActivityEventListener {
^
/var/www/mp-eatq/node_modules/react-native-mercadopago-checkout/android/src/main/java/com/blackboxvision/reactnative/mercadopagocheckout/MercadoPagoCheckoutEventListener.java:82: error: method does not override or implement a method from a supertype
@Override
^
2 errors
:react-native-mercadopago-checkout:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
```
`
Hi,
When I try to call startForPayment with this params:
[15:21:47] Object {
[15:21:47] "backgroundColor": "#F44336",
[15:21:47] "enableDarkFont": false,
[15:21:47] "preferenceId": "315157098-042123df-a4a6-4671-ae4e-5e79b9109728",
[15:21:47] "publicKey": "TEST-92f63d7c-d327-4be5-a6ba-5f14c0417d77",
[15:21:47] }
I get this error:
[15:21:51] [Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'MercadoPagoCheckoutModule.startCheckoutForPayment')]
- node_modules/react-native-mercadopago-checkout/index.js:27:47 in startForPayment$
I don't know what's failing. I've set a log inside the 'startCheckoutForPayment' function in order to be sure that 'params' weren't undefined.
I tried to install the library today and it was not possible to compile, presenting the following error:
/home/arthur/Programs/teste_mercadopago_1/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-pt/values-pt.xml:54: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
/home/arthur/Programs/teste_mercadopago_1/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-pt/values-pt.xml:55: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
/home/arthur/Programs/teste_mercadopago_1/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es-rPE/values-es-rPE.xml:26: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
/home/arthur/Programs/teste_mercadopago_1/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es-rPE/values-es-rPE.xml:27: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
> Task :app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
/home/arthur/.gradle/caches/transforms-1/files-1.1/sdk-3.2.0.aar/bebd56aab5f07f0608a4500db1f26cbe/res/values/values.xml:225:5-131: AAPT: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
/home/arthur/.gradle/caches/transforms-1/files-1.1/sdk-3.2.0.aar/bebd56aab5f07f0608a4500db1f26cbe/res/values/values.xml:226:5-129: AAPT: warn: ignoring element 'g' with unknown namespace 'rn:oasis:names:tc:xliff:document:1.2'.
/home/arthur/.gradle/caches/transforms-1/files-1.1/sdk-3.2.0.aar/bebd56aab5f07f0608a4500db1f26cbe/res/values/values.xml:146:5-149: AAPT: error: duplicate value for resource 'attr/fontStyle' with config ''.
/home/arthur/.gradle/caches/transforms-1/files-1.1/sdk-3.2.0.aar/bebd56aab5f07f0608a4500db1f26cbe/res/values/values.xml:146:5-149: AAPT: error: resource previously defined here.
Versions used:
node: v10.15.3
npm: 6.4.1
react-native-cli: 2.0.1
react-native: 0.59.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.