Skip to content

tenfar/fluwx

 
 

Repository files navigation

logo

中文请移步此处

Fluwx makes easier using WeChatSDK on Flutter.

Before

Before usingFluwx,I highly recommond you read this article, this'll help you。

What does Fluwx support?

  • Share Text.
  • Share WebPage.
  • Share Image.
  • Share Music.
  • Share Video.
  • Share MiniProgram.
  • Send Auth(Login).
  • Pay.

Tech Used In Fluwx

For Android,kotlin-1.2.71 is included:

 implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
 api 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.4'
 implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.2'
 implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:0.30.2'
 implementation 'top.zibin:Luban:1.1.8'
 implementation 'com.squareup.okhttp3:okhttp:3.11.0'

For Flutter:
Flutter 0.8.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5ab9e70727 (11 days ago) • 2018-09-07 12:33:05 -0700
Engine • revision 58a1894a1c
Tools • Dart 2.1.0-dev.3.1.flutter-760a9690c2

Import

add the following in your pubspec.yaml file:

dependencies:
  fluwx: ^0.4.1

Register WeChatSDK via Fluwx

Before usingFluwx,you should init FLuwx

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

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 a URLSchema for iOS.

More

Other

Waiting

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

https://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.

About

Flutter版微信SDK.WeChat SDK for flutter.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 67.9%
  • Java 18.5%
  • Kotlin 11.9%
  • Ruby 1.3%
  • Swift 0.4%