Comments (14)
将支付宝添加到白名单。
from tobias.
-(void) _isAliPayInstalled:(FlutterMethodCall*)call result:(FlutterResult)result {
BOOL isAliPayInstalled = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"alipay://"]];
result(@(isAliPayInstalled));
}
你这里面写成 alipays 了
from tobias.
代码没问题的。
from tobias.
支付宝的urlscheme 就是alipay 呀,你写的是alipays,你自己的这个example,把TobiasPlugin改了以后就可以了,不然添加白名单也没用
from tobias.
你自己跑跑我的demo看看行不行。
from tobias.
跑了是不行的,然后改了就可以了
from tobias.
支付啥的是没问题的 我是说判断是否安装的这个方法一直返回false
from tobias.
这个方法肯定没有问题。
from tobias.
你跑一下嘛 大哥,要是没问题的话,我也不会来提issue呀
from tobias.
1.更新一下2.有人用过这个这个方式了。
from tobias.
1.0.0+1 这个是最新版的吧
from tobias.
@JarvanMo 你的isAliPayInstalled方法在ios下确实有问题。支付的调起是正常的,但是检测是否安装失败了。
from tobias.
from tobias.
@xuetongiqn @YuzuWang 作者说的没问题,但是文档也确实没有写明。应该在 info.plist
里的 <key>LSApplicationQueriesSchemes</key>
下加一行:<string>alipays</string>
,然后检测就有效了。
from tobias.
Related Issues (20)
- 请问后续版本是否会接入花呗分期渠道 HOT 1
- tobias.podspec file: required values:[url_scheme] are missing HOT 2
- iOS显示UrlScheme Not Found, 我在yaml里面已经配置过了 HOT 2
- 后面会添加支付宝周期扣款功能吗? HOT 2
- Download alipaysdk-android-15.8.11.pom... HOT 4
- [FR] Add tobias.isAliPayHKInstalled HOT 9
- ios 支付成功无法收到成功回调 HOT 6
- 1、您需要在pubspec.yaml中配置url_scheme 这句该如何正确配置 HOT 2
- 请问安卓使用支付宝支付,苹果不使用支付宝支付,应该怎么配置 HOT 5
- Unhandled Exception: PlatformException(AliPay UrlScheme Not Found, Config AliPay First, null, null) HOT 11
- 未登录支付宝情况下,华为鸿蒙手机不能唤起支付宝 HOT 1
- web plugin registrant 路径配置错误 HOT 1
- 大佬,iOS支付收不到回调了,具体情况麻烦看下内容。 HOT 5
- 大佬,你好,咨询一个问题,请进来看看 HOT 4
- 项目需要多渠道打包,url_scheme怎么动态配置呢 HOT 2
- ios 支付后 无法获取回调结果
- 检查支付宝是否安装 支付宝的Scheme是 alipay://;源码的alipays://已经失效
- 如何屏蔽iOS平台支付宝SDK
- 发现一个问题,支付宝支付成功返回应用后,并没有完全退出支付宝,而是留了一个浮层,导致应用无法回到生命周期获取到返回值
- 是否有计划适配鸿蒙next系统?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tobias.