提交 b759f01c authored 作者: JarvanMo's avatar JarvanMo

0.1.7 ready

上级 f5dddd46
## 0.1.7
* 删除`Fluwx.registerApp(RegisterModel)`,现在使用`Fluwx.register()`
## 0.1.6 ## 0.1.6
* 修复transitive dependencies。 * 修复transitive dependencies。
......
...@@ -42,14 +42,14 @@ ...@@ -42,14 +42,14 @@
add the following in your `pubspec.yaml` file: add the following in your `pubspec.yaml` file:
```yaml ```yaml
dependencies: dependencies:
fluwx: ^0.1.6 fluwx: ^0.1.7
``` ```
## Init Fluwx ## Init Fluwx
Before using`Fluwx`,you should init `FLuwx`: Before using`Fluwx`,you should init `FLuwx`:
```dart ```dart
Fluwx.registerApp(RegisterModel(appId: "your app id", doOnAndroid: true, doOnIOS: true)); Fluwx.register(appId:"wxd930ea5d5a258f4f",doOnAndroid: true,doOnIOS: true,enableMTA: false);
``` ```
- `appId`:the appId you applied from WeChat. - `appId`:the appId you applied from WeChat.
- `doOnAndroid`:whether init for Android. - `doOnAndroid`:whether init for Android.
......
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
在`pubspec.yaml`文件中添加如下代码: 在`pubspec.yaml`文件中添加如下代码:
```yaml ```yaml
dependencies: dependencies:
fluwx: ^0.1.6 fluwx: ^0.1.7
``` ```
## 初始化 ## 初始化
使用`Fluwx`前,需要进行初始化操作: 使用`Fluwx`前,需要进行初始化操作:
```dart ```dart
Fluwx.registerApp(RegisterModel(appId: "your app id", doOnAndroid: true, doOnIOS: true)); Fluwx.register(appId:"wxd930ea5d5a258f4f",doOnAndroid: true,doOnIOS: true,enableMTA: false);
``` ```
- `appId`:在微信平台申请的appId。 - `appId`:在微信平台申请的appId。
- `doOnAndroid`:是否在android平台上执行此操作。 - `doOnAndroid`:是否在android平台上执行此操作。
......
name: fluwx name: fluwx
description: A implement of WeChatSDK on Flutter.Let's make it easier with Fluwx. description: A implement of WeChatSDK on Flutter.Let's make it easier with Fluwx.
version: 0.1.6 version: 0.1.7
author: JarvanMo <jarvan.mo@gmail.com> author: JarvanMo <jarvan.mo@gmail.com>
homepage: https://github.com/JarvanMo/fluwx homepage: https://github.com/JarvanMo/fluwx
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论