Skip to content

Commit 66426df

Browse files
authored
🔖 Bump photo_manager to explicitly remove the requirements of requiredLegacyExternalStorage (#139)
1 parent 8ea7865 commit 66426df

File tree

5 files changed

+51
-35
lines changed

5 files changed

+51
-35
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ that can be found in the LICENSE file. -->
44

55
# Changelog
66

7+
## 3.6.2
8+
9+
### Improvements
10+
11+
- Bump `photo_manager` to explicitly remove the requirements of `requiredLegacyExternalStorage`.
12+
713
## 3.6.1
814

915
### New features

README-ZH.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ that can be found in the LICENSE file. -->
1515

1616
Language: [English](README.md) | 中文简体
1717

18+
基于微信界面的相机选择器,可单独运行,是
1819
[**仿微信资源选择器**](https://pub.flutter-io.cn/packages/wechat_assets_picker) 的扩展。
19-
基于 `camera` 实现相机相关功能,`photo_manager` 实现资源相关内容。
20+
选择器基于 `camera` 实现相机相关功能,`photo_manager` 实现资源相关内容。
2021

2122
## 目录 🗂
2223

@@ -33,15 +34,19 @@ Language: [English](README.md) | 中文简体
3334

3435
## 特性 ✨
3536

36-
- [x] 🔐 支持健全的空安全
37-
- [x] 💚 99% 的微信风格
38-
- [x] 📷 支持拍照
39-
- [x] ☀️ 支持设置曝光参数
40-
- [x] 🔍️ 支持捏合缩放
41-
- [x] 🎥 支持录像
42-
- [x] ⏱ 支持限制录像时间
43-
- [x] 🔍 支持录像时缩放
44-
- [x] 🖾 支持自定义前景 widget 构建
37+
- ♻️ 支持基于 `State` 重载的全量自定义
38+
- 💚 99% 的微信风格
39+
- 📷 支持拍照
40+
- 🎥 支持录像
41+
- ⏱ 支持限制录像时间
42+
- 🔍 支持录像时缩放
43+
- ☀️ 支持设置曝光参数
44+
- 🔍️ 支持捏合缩放
45+
- 💱 国际化支持
46+
- ⏪ RTL 语言支持
47+
- 🎏 完整的自定义主题
48+
- 🖾 支持自定义前景 widget 构建
49+
- 🕹️ 保存时拦截自定义操作
4550

4651
## 截图 📸
4752

@@ -53,7 +58,7 @@ Language: [English](README.md) | 中文简体
5358

5459
### 版本限制
5560

56-
Flutter SDK:`>=2.0.0`
61+
Flutter SDK:`>=2.2.0`
5762

5863
### 配置
5964

@@ -68,10 +73,10 @@ Flutter SDK:`>=2.0.0` 。
6873
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
6974
xmlns:tools="http://schemas.android.com/tools"
7075
package="com.your.app">
71-
<!-- 如果不需要拍照,移除 READ_MEDIA_IMAGES -->
72-
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
73-
<!-- 如果不需要拍照,移除 READ_MEDIA_VIDEO -->
74-
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
76+
<!-- 如果需要拍照,添加该权限 -->
77+
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
78+
<!-- 如果需要录像,添加该权限 -->
79+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
7580
</manifest>
7681
```
7782

README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ that can be found in the LICENSE file. -->
1515

1616
Language: English | [中文简体](README-ZH.md)
1717

18-
A **camera picker** which is an extension for
18+
A **camera picker** based on WeChat's UI which is a separate runnable extension to
1919
[wechat_assets_picker](https://pub.dev/packages/wechat_assets_picker).
20-
Based on `camera` for camera functions and `photo_manager` for asset implementation.
20+
The package based on `camera` for camera functions
21+
and `photo_manager` for asset implementation.
2122

2223
## Category 🗂
2324

@@ -35,15 +36,19 @@ Based on `camera` for camera functions and `photo_manager` for asset implementat
3536

3637
## Features ✨
3738

38-
- [x] 🔐 Non-nullable by default
39-
- [x] 💚 99% similar to WeChat style
40-
- [x] 📷 Picture taking support
41-
- [x] ☀️ Exposure adjust support
42-
- [x] 🔍️ Scale with pinch support
43-
- [x] 🎥 Video recording support
44-
- [x] ⏱ Duration limitation support
45-
- [x] 🔍 Scale when recording support
46-
- [x] 🖾 Foreground custom widget builder support
39+
- ♻️ Fully implementable with `State`s override
40+
- 💚 99% similar to WeChat style
41+
- 📷 Picture taking support
42+
- 🎥 Video recording support
43+
- ⏱ Duration limitation support
44+
- 🔍 Scale when recording support
45+
- ☀️ Exposure adjust support
46+
- 🔍️ Scale with pinch support
47+
- 💱 i18n support
48+
- ⏪ RTL language support
49+
- 🎏 Fully customizable theme
50+
- 🖾 Foreground custom widget builder support
51+
- 🕹️ Intercept saving with custom process
4752

4853
## Screenshots 📸
4954

@@ -55,7 +60,7 @@ Based on `camera` for camera functions and `photo_manager` for asset implementat
5560

5661
### Version constraints
5762

58-
Flutter SDK: `>=2.0.0` .
63+
Flutter SDK: `>=2.2.0` .
5964

6065
### Setup
6166

@@ -71,10 +76,10 @@ consider removing relevant permission in your apps, more specifically:
7176
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
7277
xmlns:tools="http://schemas.android.com/tools"
7378
package="com.your.app">
74-
<!-- Remove READ_MEDIA_IMAGES if you don't need to take photos. -->
75-
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" tools:node="remove" />
76-
<!-- Remove READ_MEDIA_VIDEO if you don't need to take videos. -->
77-
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" tools:node="remove" />
79+
<!-- Add this if you need to take photos. -->
80+
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
81+
<!-- Add this if you need to take videos. -->
82+
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
7883
</manifest>
7984
```
8085

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wechat_camera_picker_demo
22
description: A new Flutter project.
3-
version: 3.6.1+17
3+
version: 3.6.2+18
44
publish_to: none
55

66
environment:

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: wechat_camera_picker
2-
description: A camera picker which is an extension to wechat_assets_picker, but can be run separately.
3-
version: 3.6.1
4-
homepage: https://github.com/fluttercandies/flutter_wechat_camera_picker
2+
description: A camera picker based on WeChat's UI which is a separate runnable extension to wechat_assets_picker.
3+
repository: https://github.com/fluttercandies/flutter_wechat_camera_picker
4+
version: 3.6.2
55

66
environment:
77
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)