@@ -6,37 +6,52 @@ that can be found in the LICENSE file. -->
6
6
7
7
[ ![ pub package] ( https://img.shields.io/pub/v/wechat_camera_picker?logo=dart&label=stable&style=flat-square )] ( https://pub.dev/packages/wechat_camera_picker )
8
8
[ ![ pub package] ( https://img.shields.io/pub/v/wechat_camera_picker?color=42a012&include_prereleases&label=dev&logo=dart&style=flat-square )] ( https://pub.dev/packages/wechat_camera_picker )
9
- [ ![ GitHub stars] ( https://img.shields.io/github/stars/fluttercandies/flutter_wechat_camera_picker?logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/stargazers )
10
- [ ![ GitHub forks] ( https://img.shields.io/github/forks/fluttercandies/flutter_wechat_camera_picker?logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/network )
11
- [ ![ Build status] ( https://img.shields.io/github/actions/workflow/status/fluttercandies/flutter_wechat_camera_picker/runnable.yml?branch=main&label=CI&logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/actions/workflows/runnable.yml )
12
9
[ ![ CodeFactor] ( https://img.shields.io/codefactor/grade/github/fluttercandies/flutter_wechat_camera_picker?logo=codefactor&logoColor=%23ffffff&style=flat-square )] ( https://www.codefactor.io/repository/github/fluttercandies/flutter_wechat_camera_picker )
10
+
11
+ [ ![ Build status] ( https://img.shields.io/github/actions/workflow/status/fluttercandies/flutter_wechat_camera_picker/runnable.yml?branch=main&label=CI&logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/actions/workflows/runnable.yml )
13
12
[ ![ GitHub license] ( https://img.shields.io/github/license/fluttercandies/flutter_wechat_camera_picker?style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/blob/master/LICENSE )
14
- <a target =" _blank " href =" https://jq.qq.com/?_wv=1027&k=5bcc0gy " ><img border =" 0 " src =" https://pub.idqqimg.com/wpa/images/group.png " alt =" FlutterCandies " title =" FlutterCandies " ></a >
13
+ [ ![ GitHub stars] ( https://img.shields.io/github/stars/fluttercandies/flutter_wechat_camera_picker?logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/stargazers )
14
+ [ ![ GitHub forks] ( https://img.shields.io/github/forks/fluttercandies/flutter_wechat_camera_picker?logo=github&style=flat-square )] ( https://github.com/fluttercandies/flutter_wechat_camera_picker/network )
15
+
16
+ [ ![ Flutter Candies QQ群] ( https://pub.idqqimg.com/wpa/images/group.png )] ( https://jq.qq.com/?_wv=1027&k=5bcc0gy )
15
17
16
- Language: English | [ 中文简体 ] ( README-ZH.md )
18
+ Language: English | [ 中文 ] ( README-ZH.md )
17
19
18
- A ** camera picker** based on WeChat's UI which is a separate runnable extension to
20
+ A ** camera picker** for Flutter projects based on WeChat's UI,
21
+ which is also a separate runnable extension to the
19
22
[ wechat_assets_picker] [ wechat_assets_picker pub ] .
20
- The package based on ` camera ` for camera functions
21
- and ` photo_manager ` for asset implementation.
22
23
23
24
Current WeChat version that UI based on: ** 8.3.x**
24
25
UI designs will be updated following the WeChat update in anytime.
25
26
26
27
See the [ Migration Guide] [ ] to learn how to migrate between breaking changes.
27
28
29
+ ## Package credits
30
+
31
+ The package is built from these wonderful packages.
32
+
33
+ | Name | Features |
34
+ | :-----------------------------------| :--------------------------------------------------|
35
+ | [ photo_manager] [ photo_manager pub ] | The basic abstractions and management for assets. |
36
+ | [ camera] [ camera pub ] | Captures images and videos. |
37
+ | [ video_player] [ video_player pub ] | Plays videos and audios correspondingly. |
38
+
39
+ Their implementation should be relatively stable in the package.
40
+ If you've found any issues related to them when using the picker,
41
+ submit issues to our issue tracker first.
42
+
28
43
<details >
29
44
<summary >Table of content</summary >
30
45
31
46
<!-- TOC -->
32
47
* [ Flutter WeChat Camera Picker] ( #flutter-wechat-camera-picker )
48
+ * [ Package credits] ( #package-credits )
33
49
* [ Features ✨] ( #features- )
34
50
* [ Screenshots 📸] ( #screenshots- )
35
51
* [ READ THIS FIRST ‼️] ( #read-this-first- )
36
52
* [ Preparing for use 🍭] ( #preparing-for-use- )
37
53
* [ Versions compatibility] ( #versions-compatibility )
38
54
* [ Setup] ( #setup )
39
- * [ Android 13 (API 33) permissions] ( #android-13-api-33-permissions )
40
55
* [ Usage 📖] ( #usage- )
41
56
* [ Localizations] ( #localizations )
42
57
* [ Simple usage] ( #simple-usage )
@@ -122,31 +137,13 @@ The latest **stable** version is:
122
137
The latest **dev** version is:
123
138
[](https://pub.dev/packages/wechat_camera_picker)
124
139
125
- Then import the package in your code:
126
- ` ` ` dart
127
- import 'package:wechat_camera_picker/wechat_camera_picker.dart';
128
- ```
129
-
130
- See also:
140
+ Follow these detailed setup guide before runs:
131
141
- [wechat_assets_picker#preparing-for-use](https://github.com/fluttercandies/flutter_wechat_assets_picker#preparing-for-use-)
132
142
- [camera#installation](https://pub.dev/packages/camera#installation)
133
143
134
- #### Android 13 (API 33) permissions
135
-
136
- When using the package, please upgrade
137
- ` targetSdkVersion ` and ` compileSdkVersion ` to ` 33 ` .
138
- Otherwise, no assets can be fetched on Android 13.
139
-
140
- If you don't need to take photos or videos,
141
- consider removing relevant permission in your apps, more specifically:
142
-
143
- ``` xml
144
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
145
- <!-- Add this if you need to take photos. -->
146
- <uses-permission android : name =" android.permission.READ_MEDIA_IMAGES" />
147
- <!-- Add this if you need to take videos. -->
148
- <uses-permission android : name =" android.permission.READ_MEDIA_VIDEO" />
149
- </manifest >
144
+ Then import the package in your code:
145
+ ` ` ` dart
146
+ import 'package:wechat_camera_picker/wechat_camera_picker.dart';
150
147
```
151
148
152
149
## Usage 📖
@@ -266,5 +263,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/
266
263
267
264
[ wechat_assets_picker pub ] : https://pub.dev/packages/wechat_assets_picker
268
265
[ photo_manager pub ] : https://pub.dev/packages/photo_manager
266
+ [ camera pub ] : https://pub.dev/packages/camera
267
+ [ video_player pub ] : https://pub.dev/packages/video_player
269
268
[ Migration Guide ] : https://github.com/fluttercandies/flutter_wechat_camera_picker/blob/main/guides/migration_guide.md
270
269
[ photo_manager's API docs ] : https://pub.dev/documentation/photo_manager/latest/
0 commit comments