open-pay / openpay-react-native Goto Github PK
View Code? Open in Web Editor NEWopenpay-react-native is a package that generates the device_session_id and tokenize credit cards with Openpay.
License: MIT License
openpay-react-native is a package that generates the device_session_id and tokenize credit cards with Openpay.
License: MIT License
ERROR TypeError: identifierForVendor.replace is not a function. (In 'identifierForVendor.replace(/-/g, '')', 'identifierForVendor.replace' is undefined)
I'm using react-native-openpay on my project and tried to upload it into apple connect, I received an email with this issue: "ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability".
I searched on the node_modules folder with the command "grep UIWebView -r node_modules" and I got this output:
"node_modules/react-native-openpay/RNOpenpay/DeviceCollectorSDK.h:@interface DeviceCollectorSDK : NSObject
Binary file node_modules/react-native-openpay/RNOpenpay/openpay.a matches"
https://developer.apple.com/documentation/webkit/wkwebview/
I've tried replacing UIWebViewDelegate with WKUIDelegate on the DeviceCollectorSDK.h but seems that the openpay.a binary file still matches with UIWebView.
How can I generate again the openpay.a file? I'm really new with the IOS compilation.
And this is really what is not allowing me to upload to apple connect?
RN: 0.6
react-native-openpay: ^2.0.1
I'm using cocoapods but the library is linked manually because y haven't found how to add it with pods.
Thanks, and regards!
"openpay-react-native": "1.0.3",
"react": "16.3.1",
"react-native": "0.57.3",
Y por qué tiene una implementación de componente? La librería debería poder ofrecerte la funcionalidad que no se puede usar en la versión javascript web, es decir un api o servicio.
Todas las librerías están de más, la vista ofrecida por la librería puede no servir por temas de unidad e imagen.
No se sabe si la librería es la oficial por que nada lo menciona, ni la documentación de Openpay ni el repositorio, causa desconfianza usarlo.
Es la peor implementación que he visto.
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.