Giter Club home page Giter Club logo

sy_flutter_alipay's People

Contributors

lishuhao avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

sy_flutter_alipay's Issues

你好,如何处理android或ios上未安装支付宝app的情况?

如题,
目前在android上,如果未安装支付宝app,会闪退。

异常信息:

E/libc (31011): Access denied finding property "vendor.gralloc.disable_ahardware_buffer"
W/RenderThread(31011): type=1400 audit(0.0:1858): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14862 scontext=u:r:untrusted_app:s0:c168,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
W/System.err(31011): java.lang.SecurityException: getDeviceId
W/System.err(31011): at android.os.Parcel.createException(Parcel.java:1950)
W/System.err(31011): at android.os.Parcel.readException(Parcel.java:1918)
W/System.err(31011): at android.os.Parcel.readException(Parcel.java:1868)
W/System.err(31011): at com.android.internal.telephony.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:5407)
W/System.err(31011): at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:1240)
W/System.err(31011): at com.alipay.sdk.util.a.(SourceFile:38)
W/System.err(31011): at com.alipay.sdk.util.a.a(SourceFile:27)
W/System.err(31011): at com.alipay.sdk.tid.b.a(SourceFile:79)
W/System.err(31011): at com.alipay.sdk.app.statistic.c.(SourceFile:1229)
W/System.err(31011): at com.alipay.sdk.app.statistic.a.a(SourceFile:21)
W/System.err(31011): at com.alipay.sdk.app.PayTask.(SourceFile:58)
W/System.err(31011): at alipay.flutter.isanye.cn.syflutteralipay.SyFlutterAlipayPlugin$1.run(SyFlutterAlipayPlugin.java:60)
W/System.err(31011): at java.lang.Thread.run(Thread.java:764)
W/Thread-2(31011): type=1400 audit(0.0:1859): avc: denied { read } for name="version" dev="proc" ino=4026532066 scontext=u:r:untrusted_app:s0:c168,c256,c512,c768 tcontext=u:object_r:proc_version:s0 tclass=file permissive=0
E/AndroidRuntime(31011): FATAL EXCEPTION: Thread-2
E/AndroidRuntime(31011): Process: net.zituo.scc.flutter_demo, PID: 31011
E/AndroidRuntime(31011): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(31011): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:135)
E/AndroidRuntime(31011): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:230)
E/AndroidRuntime(31011): at alipay.flutter.isanye.cn.syflutteralipay.SyFlutterAlipayPlugin$1.run(SyFlutterAlipayPlugin.java:65)
E/AndroidRuntime(31011): at java.lang.Thread.run(Thread.java:764)
I/Process (31011): Sending signal. PID: 31011 SIG: 9

安卓支付宝支付返回闪退的解决方法

安卓支付宝支付返回时,插件内部开辟了子线程,返回的时候没有回到主线程,所以导致崩溃。在插件内部成功和异常的方法都放在主线程中,就没有问题了。

ALIN10146

唤起支付宝,报系统繁忙(ALIN10146)
以下是查到的反馈:
system error page
Please replace this default page in your project.

MSG CODE: common.uncaughtException

EXCEPTION CODE:

ERR MSG: JVM Reference[class com.alipay.openevent.integration.kbasecore.KnowledgeCutflowDrm] cant not find the corresponding JVM service. Please check if there is a SOFA module publish the corresponding JVM service. If this exception occurred when the application starts up, please add Require-Module to SOFA module's MANIFEST.MF to indicate the startup dependency of SOFA modules.

新手求解需要改哪里?

IOS支付宝支付成功返回APP,接收不到返回值,

var result = await SyFlutterAlipay.pay(
payInfo,
urlScheme: 'appname', //前面配置的urlScheme
isSandbox: true //是否是沙箱环境,只对android有效
);
print(result);

print(result)没有任何值,也不知道返回没有,Android没有问题。支付宝支付成功后也成功跳转APP,但是接收不到返回值。

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.