提交 751b1b6b authored 作者: JarvanMo's avatar JarvanMo

0.1.5 ready

上级 d40e5d15
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
* Share Music. * Share Music.
* Share Video. * Share Video.
* Share MiniProgram. * Share MiniProgram.
* Send Auth. * Send Auth(Login).
* Pay * Pay.
## Tech Used In Fluwx ## Tech Used In Fluwx
For Android,`kotlin-1.2.60` is included: For Android,`kotlin-1.2.60` is included:
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* 音乐分享。 * 音乐分享。
* 视频分享。 * 视频分享。
* 小程序分享。 * 小程序分享。
* 发送Auth认证。 * 发送Auth认证(登录)
* 支付。 * 支付。
## 技术参数 ## 技术参数
......
...@@ -8,8 +8,8 @@ More support will be considered in the future. ...@@ -8,8 +8,8 @@ More support will be considered in the future.
> NOTE:Images or thumbnails used for sharing only support `png`and`jpg`.Network or assets images are OK.<br> > NOTE:Images or thumbnails used for sharing only support `png`and`jpg`.Network or assets images are OK.<br>
> However,using images from `assets`,you have to add a schema `assets://`。<br> > However,using images from `assets`,you have to add a schema `assets://`。<br>
> For assets image from a particular package,you have to add a query param:`?package=package_name`<br> > For assets image from a particular package,you have to add a query param:`?package=package_name`<br>
> We consider support `file://` in the future,so paths begin with `file://` are ok, but fluwx does nothing<br> > If you want to use local image,`file://` must be provided.For example, a local image path should be "file://path/to/your/image.jpg". <br>
> If no schema or wrong schema proivided,fluwx will load it as network image.Be careful<br> > If no schema or wrong schema provided,`Fluwx` will load it as network image.Be careful<br>
> Due to the limits of WeChat,the thumbnail must be smaller than 32k(mini-program's is smaller than 120k),you'd better provide <br> > Due to the limits of WeChat,the thumbnail must be smaller than 32k(mini-program's is smaller than 120k),you'd better provide <br>
> a qualified thumbnail.Otherwise, `Fluwx` will compress it for you. The result of compression is unpredictable.<br> > a qualified thumbnail.Otherwise, `Fluwx` will compress it for you. The result of compression is unpredictable.<br>
> Considering that we may obtain a path such as *content://media/external/file* on Android, `fluwx` also support reading image or thumbnail from `content://`.<br> > Considering that we may obtain a path such as *content://media/external/file* on Android, `fluwx` also support reading image or thumbnail from `content://`.<br>
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
> 注意:目前分享中涉及到图片的地方仅支持`png`和`jpg`,支持网络图片及`assets`图片。<br> > 注意:目前分享中涉及到图片的地方仅支持`png`和`jpg`,支持网络图片及`assets`图片。<br>
> 使用`assets`图片需要添加`assets://`。<br> > 使用`assets`图片需要添加`assets://`。<br>
> 也可以在`assets`图片添加`?package=package_name`以读取指定包的图片。<br> > 也可以在`assets`图片添加`?package=package_name`以读取指定包的图片。<br>
> 未来可能支持`file://`,目前以`file://`图片不会做任何处理。<br> > 如果你想使用本地图片请勿必提供`file://`,比如`file://path/to/your/image.jpg`。<br>
> 如果不指定schema或者schema错误,将会被处理为网络图片,请谨慎。<br> > 如果不指定schema或者schema错误,将会被处理为网络图片,请谨慎。<br>
> 由于微信的限制,一般的缩略图要小于32k(小程序的缩略图要小于120k),所以在使用缩略的时候<br> > 由于微信的限制,一般的缩略图要小于32k(小程序的缩略图要小于120k),所以在使用缩略的时候<br>
> 很有必要使用一张合格的缩略图,否则`Fluwx`进行压缩,其结果可能并不是你所预期的。 > 很有必要使用一张合格的缩略图,否则`Fluwx`进行压缩,其结果可能并不是你所预期的。
> 考虑到在`Android`上,我们可能得到像*content://media/external/file*这样的路径, `fluwx` 也支持从`content://`中读取图片或者缩略图.<br> > 考虑到在`Android`上,我们可能得到像*content://media/external/file*这样的路径, `fluwx` 也支持从`content://`中读取图片或者缩略图.<br>
> `content://` 只在Android上有效。 > `content://` 只在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.4 version: 0.1.5
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论