同步操作将从 JarvanMo/fluwx 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Fluwx
is flutter plugin for WeChatSDK which allows developers to call
WeChatSDK native APIs.
Join QQ Group now: 1003811176
Fluwx
is good but not God. You'd better read official documents before
integrating Fluwx
. Then you'll understand how to generate Android signature, what's universal link for iOS, how to add URL schema for iOS and so on.
Add the following dependencies in your pubspec.yaml
file:
Fluwx
with pay:
dependencies:
fluwx: ^${latestVersion}
Fluwx
without pay:
Developers who need to exclude payment for iOS can enable
no_pay
in pubspec.yaml.
NOTE: Never forget to replace ^${latestVersion} with actual version.
Fluwx
enables multiple configurations in the section fluwx
of pubspec.yaml
from v4, you can reference pubspec.yaml
for more details.
For iOS, some configurations, such as url_scheme,universal_link, LSApplicationQueriesSchemes, can be configured by
fluwx
, what you need to do is to fill configurations inpubspec.yaml
fluwx.registerApi
manually.true
.Fluwx
will try to launch launcher activity if not set.AppDelegate
or SceneDelegate
. See official documents for more details.cannot load such file -- plist
on iOS, please do the following steps:# step.1 install missing dependencies
sudo gem install plist
# step.2 enter iOS folder(example/ios/,ios/)
cd example/ios/
# step.3 execute
pod install
Register your app via fluwx
if necessary.
Fluwx fluwx = Fluwx();
fluwx.registerApi(appId: "wxd930ea5d5a228f5f",universalLink: "https://your.univerallink.com/link/");
The param universalLink
only works with iOS. You can read this document to learn
how to create universalLink. You can also learn how to add URL schema, how to add LSApplicationQueriesSchemes
in your iOS project. This is essential.
For Android, you shall know to how generate signature for your app in this page.
And you have to understand the difference between debug signature and release signature. Once the signature is incorrect, then you'll get errCode = -1
.
It' better to register your API as early as possible.
For more capabilities, you can read the public functions of fluwx
.
Buy the writer a cup of coffee。
Copyright 2023 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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。