Fluwx makes easier using WeChatSDK on Flutter.
Fluwx,I highly recommond you read this article，
this'll help you。
kotlin-1.3.0 is included:
api 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.4' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0' implementation 'top.zibin:Luban:1.1.8' implementation 'com.squareup.okhttp3:okhttp:3.11.0'
Flutter 0.9.4 • channel beta • https://github.com/flutter/flutter.git<br> Framework • revision f37c235c32 (5 weeks ago) • 2018-09-25 17:45:40 -0400<br> Engine • revision 74625aed32<br> Tools • Dart 2.1.0-dev.5.0.flutter-a2eb050044<br>
For iOS,wechat-sdk-1.8.3(WeChatPay included) is included.
Fluwx,you should init
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.
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.
Demonstrates how to use the fluwx plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: fluwx: ^0.5.1
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.5.1||Oct 31, 2018|
|0.5.0||Oct 23, 2018|
|0.4.1||Oct 15, 2018|
|0.4.0||Oct 12, 2018|
|0.3.2||Oct 10, 2018|
|0.3.1||Oct 8, 2018|
|0.3.0||Sep 30, 2018|
|0.2.1||Sep 27, 2018|
|0.2.0||Sep 27, 2018|
|0.1.9||Sep 25, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.