Fluwx
是一个微信SDK插件,它允许开发者调用
微信原生SDK .
Fluwx 4.0 强势开发中!
加入我们的QQ群: 1003811176
Fluwx
可以做很多工作但不是所有. 在集成之前,最好读一下官方文档.
然后你才知道怎么生成签名,怎么使用universal link以及怎么添加URL schema等.
在pubspec.yaml
文件中添加fluwx
依赖:
Fluwx
,带支付:
dependencies:
fluwx: ^${latestVersion}
不带支付的Fluwx
:
一些开发者并不需要在iOS端使用支付能力,此时您可以通过在pubspec.yaml. 中开启
no_pay
。
NOTE: 别忘记替换 ^${latestVersion} !!!!
Fluwx
从v4开始可以在pubspec.yaml
的fluwx
进行一些配置。具体可以参考pubspec.yaml。
V4开始,iOS中的url_scheme,universal_link, LSApplicationQueriesSchemes可以不必开发者手动配动。只需在
pubspec.yaml
中填写即可。
fluwx.registerApi
。true
可以开启日志。Fluwx
将尝试启动launcher activity.AppDelegate
还是使用 SceneDelegate
. 查阅官方文档了解更多.cannot load such file -- plist
, 请按照以下步骤进行操作:# step.1 安装必要依赖
sudo gem install plist
# step.2 进行iOS文件夹(example/ios/,ios/)
cd example/ios/
# step.3 执行脚本
pod install
通过 fluwx
注册WxApi.
Fluwx fluwx = Fluwx();
fluwx.registerApi(appId: "wxd930ea5d5a228f5f",universalLink: "https://your.univerallink.com/link/");
参数 universalLink
只在iOS上有用. 查看文档 以便了解如何生成通用链接.
你也可以学习到怎么在iOS工程中添加URL schema,怎么添加LSApplicationQueriesSchemes
。这很重要。
对于Android, 可以查看本文以便了解怎么获取app签名.
然后你需要知道release和debug时,app签名有什么区别。如果签名不对,你会得一个错误 errCode = -1
.
建议越早注册越好。
开源不易,请作者喝杯咖啡。
Copyright 2018 OpenFlutter Project
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。