Fluwx
makes easier using WeChatSDK on Flutter.
QQ Group:892398530。
Before usingFluwx
,read the official documents first.
This is very important because some configurations or details are not listed here.
- Share Text.
- Share WebPage.
- Share Image.
- Share Music.
- Share Video.
- Share MiniProgram.
- Send Auth(Login).
- Pay.
- Launch Mini-Program.
- Subscribe Message.
- Auth By QRCode.
- Sign Auto-Deduct.
- Open WeChat App.
Add the following dependencies in your pubspec.yaml
file:
dependencies:
fluwx: ^${latestVersion}
For using the snapshot:
dependencies:
fluwx:
git:
url: https://github.com/OpenFlutter/fluwx
Before usingFluwx
,you should init FLuwx
:
import 'package:fluwx/fluwx.dart' as fluwx;
fluwx.registerWxApi(appId:"wxd930ea5d5a258f4f",universalLink:"https://your.univeral.link.com/placeholder/");
Developers must provide universalLink
if you want register WeChat via fluwx, otherwise, ignore. Incorrect universalLink
won't pass the register of SDK.
NOTE:Although we can register WXApi via Fluwx,but there's still some work you have to do on the particular platform.For example, add URLSchema, LSApplicationQueriesSchemes or universal link for iOS. Please read the official documents for details.
- Share
- Auth
- Payment
- Launch Mini-Program
- Subscribe Message
- Auth By QRCode
- Sign Auto-Deduct
- Receive Response Or Callback From WeChat
Buy the writer a cup of coffee。
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.