Giter VIP home page Giter VIP logo

react-native-nova-alipay's Introduction

  • 👋 Hi, I’m @h2oiswater
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

react-native-nova-alipay's People

Contributors

h2oiswater avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-nova-alipay's Issues

default.pay is undefined

Hi I love your plugin alot. It actually no problem with the android version. But the ios i getting issue "Alipay.default.pay is undefined". Did you have any solution?

Thanks

Here is my packaging version

"react": "^15.4.2",
    "react-native": "^0.42.3",

Issue when deploy to real device

Hi I love your plugin so much. Sorry I having issue now, the alipay is able to run on ios-emulator, but when I deploy to real device, I having this issue
unrecognized selector sent to instance 0x1d4251f10' was thrown while invoking pay on target AlipayModule with params ( "app_id=2017110209685229&method=alipay.trade.app.pay&format=JSON&charset=utf-8&sign_type=RSA&timestamp=2018-03-15+16%3a35%3a18&version=1.0&notify_url=http%3a%2f%2f116.0.120.70%3a1009%2fPlugins%2fPaymentAliPay%2fNotify&return_url=http%3a%2f%2f116.0.120.70%3a1009%2fPlugins%2fPaymentAliPay%2fReturn&biz_content=%7b%22subject%22%3a%22%e4%bb%98%e6%ac%be%e8%ae%a2%e8%b4%ad%22%2c%22body%22%3a%22%e4%bb%98%e6%ac%be%e8%ae%a2%e8%b4%ad%22%2c%22out_trade_no%22%3a%221234%22%2c%22timeout_express%22%3a%2290m%22%2c%22total_amount%22%3a%221.00%22%2c%22product_code%22%3a%22QUICK_MSECURITY_PAY%22%7d&sign=MoyhbYZXxpJpvSW%2bOIuDH%2bEzTjqn0MJORIY5dHqGfIM90BpW6gmzswKZDt389x2dPB27hqwXjNOj%2f0tMByAlpDmgk2oU2bytqa8gk9Y7yfE25zWdhVKhgbyHs3Kt8A8LjU6TA5Z1yTagzVNUTGTJAMJx21hQ9bIIuGaHdKj388w%3d", 6, 7 )

here is my react native code
Alipay.pay("app_id%3D2017110109655557%26method%3Dalipay.trade.app.pay%26format%3DJSON%26charset%3Dutf-8%26sign_type%3DRSA%26timestamp%3D2018-03-15%2B16%253a25%253a09%26version%3D1.0%26notify_url%3Dhttp%253a%252f%252fvictorian.vip%252fPlugins%252fPaymentAliPay%252fNotify%26return_url%3Dhttp%253a%252f%252fvictorian.vip%252fPlugins%252fPaymentAliPay%252fReturn%26biz_content%3D%257b%2522subject%2522%253a%2522%25e4%25bb%2598%25e6%25ac%25be%25e8%25ae%25a2%25e8%25b4%25ad%2522%252c%2522body%2522%253a%2522%25e4%25bb%2598%25e6%25ac%25be%25e8%25ae%25a2%25e8%25b4%25ad%2522%252c%2522out_trade_no%2522%253a%2522999%2522%252c%2522timeout_express%2522%253a%252290m%2522%252c%2522total_amount%2522%253a%25221.00%2522%252c%2522product_code%2522%253a%2522QUICK_MSECURITY_PAY%2522%257d%26sign%3DBM0qH37ut5Z7JOjTbYXKXWfmqiqtGeGTV1NsiDlY42792s1x7Tc0SwzsTX8ZOBpK6pX0VUmI20U0SEYLNQiTxwLh6I5iOTse7lHpByCzvkLGqU2Irax9BceFDF4TNLA1eMJwQIEoqpjgSQaIJirWG5PYHABGievTatoNTT8SZCs%253d").then((data) => { });

Did you have any idea?

AlipayPackage.java:26: 错误: 方法不会覆盖或实现超类型的方法

ios运行正常,android运行报错。
`
:react-native-nova-alipay:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/Users/michaelxu/develop/rnupdate/SeerChat/node_modules/react-native-nova-alipay/android/src/main/java/cn/idealsense/reactnative/alipay/AlipayPackage.java:26: 错误: 方法不会覆盖或实现超类型的方法
@OverRide
^
1 个错误
:react-native-nova-alipay:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-nova-alipay:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.
`

这个问题怎么解决呢?

env:
"react": "16.0.0-alpha.12",
"react-native": "0.48.3",

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.