提交 3648751b authored 作者: JarvanMo's avatar JarvanMo

update share.md

上级 e6a66768
...@@ -11,9 +11,10 @@ More support will be considered in the future. ...@@ -11,9 +11,10 @@ More support will be considered in the future.
> We consider support `file://` in the future,so paths begin with `file://` are ok, but fluwx does nothing<br> > We consider support `file://` in the future,so paths begin with `file://` are ok, but fluwx does nothing<br>
> If no schema or wrong schema proivided,fluwx will load it as network image.Be careful<br> > If no schema or wrong schema proivided,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. > 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>
### The Destination > `content://` only works on Android.
### The Destination
The destination of sharing can be SESSION(default),TIMELINE or FAVORITE.However,mini-program only support SESSION. The destination of sharing can be SESSION(default),TIMELINE or FAVORITE.However,mini-program only support SESSION.
```dart ```dart
///[WeChatScene.SESSION]会话 ///[WeChatScene.SESSION]会话
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
> 如果不指定schema或者schema错误,将会被处理为网络图片,请谨慎。<br> > 如果不指定schema或者schema错误,将会被处理为网络图片,请谨慎。<br>
> 由于微信的限制,一般的缩略图要小于32k(小程序的缩略图要小于120k),所以在使用缩略的时候<br> > 由于微信的限制,一般的缩略图要小于32k(小程序的缩略图要小于120k),所以在使用缩略的时候<br>
> 很有必要使用一张合格的缩略图,否则`Fluwx`进行压缩,其结果可能并不是你所预期的。 > 很有必要使用一张合格的缩略图,否则`Fluwx`进行压缩,其结果可能并不是你所预期的。
> 考虑到在`Android`上,我们可能得到像*content://media/external/file*这样的路径, `fluwx` 也支持从`content://`中读取图片或者缩略图.<br>
> `content://` 只在Android上有效。
### 分享去处 ### 分享去处
绝大部分分享可以分享到会话,朋友圈,收藏(小程序目前只能分享到会话)。默认分享到会话。 绝大部分分享可以分享到会话,朋友圈,收藏(小程序目前只能分享到会话)。默认分享到会话。
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论