fluwx 1.1.0

Fluwx pub package

logo

中文请移步此处

Fluwx makes easier using WeChatSDK on Flutter. QQ Group:892398530。

Before #

Before usingFluwx,read the official documents first.
This is very important because some configurations or details are not listed here.

What does Fluwx support? #

  • 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.

Sample #

See sample here

watch charged video here

upgrade to 1.0.0 or above

Dependencies #

Add the following dependencies in your pubspec.yaml file:

dependencies:
  fluwx: ^${latestVersion}

Latest version is pub package

For using the snapshot:

dependencies:
  fluwx:
    git:
      url: https://github.com/OpenFlutter/fluwx

Register WeChatSDK via Fluwx #

Before usingFluwx,you should init FLuwx

    import 'package:fluwx/fluwx.dart' as fluwx;
    fluwx.register(appId:"wxd930ea5d5a258f4f",universalLink:"");
    

Developers must provide universalLink if you want register WeChat via fluwx, otherwise, ignore.

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 or universal link for iOS. for detail, please read the official documents

More #

Other #

Waiting #

Buy the writer a cup of coffee。

Subscribe Us On WeChat #

subscribe

LICENSE #

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.

1.1.0 #

  • iOS SDK升级至1.8.6.1,本版本开始支持universal link。
  • Android SDK更换至without-mat:5.4.3
  • Android配置升级
  • 移队MTA选项

1.0.6 #

  • Fix #110

1.0.5 #

  • 增加分享内存图片

1.0.4 #

  • 解决Android上打开小程序返回白屏问题(非官方解决方案)

1.0.3 #

  • 修复一些小问题

1.0.2 #

  • 修复无法Android上分享大图的问题

1.0.1 #

  • 修复一些小问题

1.0.0 #

  • ios不必再重写AppDelegate

0.6.3 #

  • 免密支付
  • 支持打开微信App了
  • 升级了Android

0.6.2 #

  • 对android进行了升级

0.6.1 #

  • 支持二维码登录

0.6.0 #

  • kotlin升级至1.3.21。
  • ios SDK升级至1.8.4。
  • android SDK升级至5.3.6。

0.5.7 #

  • 修复问题43。

0.5.6 #

0.5.5 #

  • 修复ios分享小程序标题不正确的问题。

0.5.4 #

  • 增加一次性订阅消息功能。

0.5.3 #

  • 修复唤起小程序返回值类型不一致的问题。

0.5.2 #

  • 修复ios上sendAuth无返回的问题。
  • kotlin升级至1.3.10
  • android WeChatSDK升级到5.1.6

0.5.1 #

  • Kotlin升级到了1.3.0
  • 代码格化

0.5.0 #

  • 增加了对拉起小程序的支持
  • 删除了一些不必要的类
  • 发送Auth验证Api调整

0.4.1 #

  • 修复iOS与其他库共存时,会有重复的错误

0.4.0 #

  • 移除WeChatPayModel
  • 移除ios最小支持。
  • 优化Android微信回调。
  • build.gradle升级到了3.2.1

0.3.2 #

  • build.gradle升级到了3.2.0
  • kotlin升级到了1.2.71

0.3.1 #

  • 修复了由于Flutter-dev-0.9.7-pre在android中添加了*@Nullable*注解而引起的编译问题

0.3.0 #

  • 回调方式发生变化,由Map变更为实体类。
  • iOS的WeChatSDK更换为内部依赖,并升级到了1.8.3。
  • 修复iOS支付返回结果缺少returnKey的问题。
  • API现在更加友善了。
  • 对swift支持更友好了。

0.2.1 #

  • 修复在Android处理网络图片后缀不对的问题。

0.2.0 #

  • iOS支持Swift了。

0.1.9 #

  • 修复了不传thumbnail在Android上会崩溃的bug。

0.1.8 #

  • WeChatPayModel里的字段不再是dynamic
  • 修复了iOS对支付功能中timestamp处理不正确的问题。

0.1.7 #

  • 删除Fluwx.registerApp(RegisterModel),现在使用Fluwx.register()

0.1.6 #

  • 修复transitive dependencies。

0.1.5 #

  • 增加了本地图片的支持

0.1.4 #

  • 修复了iOS分享去处错误的问题

0.1.3 #

  • ResponseType 更名为WeChatResponseType

0.1.2 #

  • 修复iOS中FluwxShareHandler.h的导入问题

0.1.1 #

  • 修复iOS分享去处错误的bug

0.1.0 #

  • 增加了MTA选项
  • Android部分的微信SDK提供方式由implementation更换为api

0.0.8 #

  • 修复了iOS无法分享小程序的bug
  • 修复了iOS分享音乐崩溃的问题
  • 修复了iOS发送Auth偶尔会崩溃的问题

0.0.7 #

  • 修复了iOS回调崩溃的bug

0.0.6 #

  • 修复iOS拉起支付崩溃的问题

0.0.5 #

  • 格式化代码

0.0.4 #

  • 支付
  • demo

0.0.3 #

  • 发送Auth认证。

0.0.2 #

  • 文本分享。
  • 网站分享。
  • 图片分享。
  • 音乐分享。
  • 视频分享。
  • 小程序分享。

0.0.1 #

  • Android部分的分享已完成.

example/README.md

fluwx_example #

Demonstrates how to use the fluwx plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  fluwx: ^1.1.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:fluwx/fluwx.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
92
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
96
Learn more about scoring.

We analyzed this package on Sep 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.2

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test