Skip to content

Commit a21a447

Browse files
authored
Update multiple packages to depend on versions with iOS privacy manifest included (flutter#6355)
Updated multiple packages `pubspec.yaml` to depend on iOS implementation versions that include privacy manifest required by Apple. I touched packages that were referenced in flutter#131940 issue. The reason to do this change is that in a few projects I noticed that updating `url_launcher` dependency to the currently latest 6.2.5 doesn't also update `url_launcher_ios` to version with privacy manifest (appeared in 6.2.4) included in the plugin's `pubspec.yaml` it is declared as `^6.2.0`, thus, version resolution picks 6.2.0 and that is it. Considering that there is already a deadline of May 1, 2024 from Apple on when apps would have to include privacy manifests, it would be good to let devs already prepare their projects. This change should be especially useful for `shared_preferences`, which has `NSPrivacyAccessedAPITypes` array declared in its privacy manifest and which is already asked by Apple in emails after uploading new builds: <img width="681" alt="Screenshot 2024-03-19 at 12 36 47" src="https://github.com/flutter/packages/assets/13467769/c81e5a15-86d8-4270-aafe-845679fc901b"> Didn't update changelogs due to the fact that plugins stayed in almost the same versions range, where those minor changes to iOS part had no serious changed.
1 parent e98839a commit a21a447

File tree

10 files changed

+27
-15
lines changed

10 files changed

+27
-15
lines changed

packages/image_picker/image_picker/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
## NEXT
1+
## 1.0.8
22

33
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
44
* Updates support matrix in README to indicate that iOS 11 is no longer supported.
55
* Clients on versions of Flutter that still support iOS 11 can continue to use this
66
package with iOS 11, but will not receive any further updates to the iOS implementation.
7+
* Updates minimum iOS implementation version to include a privacy manifest.
78

89
## 1.0.7
910

packages/image_picker/image_picker/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6-
version: 1.0.7
6+
version: 1.0.8
77

88
environment:
99
sdk: ^3.1.0
@@ -30,7 +30,7 @@ dependencies:
3030
sdk: flutter
3131
image_picker_android: ^0.8.7
3232
image_picker_for_web: ">=2.2.0 <4.0.0"
33-
image_picker_ios: ^0.8.8
33+
image_picker_ios: ^0.8.9+1
3434
image_picker_linux: ^0.2.1
3535
image_picker_macos: ^0.2.1
3636
image_picker_platform_interface: ^2.8.0

packages/path_provider/path_provider/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
## NEXT
1+
## 2.1.3
22

33
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
44
* Updates support matrix in README to indicate that iOS 11 is no longer supported.
55
* Clients on versions of Flutter that still support iOS 11 can continue to use this
66
package with iOS 11, but will not receive any further updates to the iOS implementation.
7+
* Updates minimum iOS implementation version to include a privacy manifest.
78

89
## 2.1.2
910

packages/path_provider/path_provider/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: path_provider
22
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
33
repository: https://github.com/flutter/packages/tree/main/packages/path_provider/path_provider
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+path_provider%22
5-
version: 2.1.2
5+
version: 2.1.3
66

77
environment:
88
sdk: ^3.1.0
@@ -26,7 +26,7 @@ dependencies:
2626
flutter:
2727
sdk: flutter
2828
path_provider_android: ^2.1.0
29-
path_provider_foundation: ^2.3.0
29+
path_provider_foundation: ^2.3.2
3030
path_provider_linux: ^2.2.0
3131
path_provider_platform_interface: ^2.1.0
3232
path_provider_windows: ^2.2.0

packages/shared_preferences/shared_preferences/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
## NEXT
1+
## 2.2.3
22

33
* Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
44
* Updates support matrix in README to indicate that iOS 11 is no longer supported.
55
* Clients on versions of Flutter that still support iOS 11 can continue to use this
66
package with iOS 11, but will not receive any further updates to the iOS implementation.
77
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
8+
* Updates minimum iOS implementation version to include a privacy manifest.
89

910
## 2.2.2
1011

packages/shared_preferences/shared_preferences/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for reading and writing simple key-value pairs.
33
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
44
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
6-
version: 2.2.2
6+
version: 2.2.3
77

88
environment:
99
sdk: ^3.1.0
@@ -29,7 +29,7 @@ dependencies:
2929
flutter:
3030
sdk: flutter
3131
shared_preferences_android: ^2.1.0
32-
shared_preferences_foundation: ^2.2.0
32+
shared_preferences_foundation: ^2.3.5
3333
shared_preferences_linux: ^2.2.0
3434
shared_preferences_platform_interface: ^2.3.0
3535
shared_preferences_web: ^2.1.0

packages/url_launcher/url_launcher/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.2.6
2+
3+
* Updates minimum iOS implementation version to include a privacy manifest.
4+
15
## 6.2.5
26

37
* Removes use of deprecated `renderView` API.

packages/url_launcher/url_launcher/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for launching a URL. Supports
33
web, phone, SMS, and email schemes.
44
repository: https://github.com/flutter/packages/tree/main/packages/url_launcher/url_launcher
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+url_launcher%22
6-
version: 6.2.5
6+
version: 6.2.6
77

88
environment:
99
sdk: ">=3.2.0 <4.0.0"
@@ -29,7 +29,7 @@ dependencies:
2929
flutter:
3030
sdk: flutter
3131
url_launcher_android: ^6.2.0
32-
url_launcher_ios: ^6.2.0
32+
url_launcher_ios: ^6.2.4
3333
# Allow either the pure-native or Dart/native hybrid versions of the desktop
3434
# implementations, as both are compatible.
3535
url_launcher_linux: ^3.1.0

packages/video_player/video_player/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.8.6
2+
3+
* Updates minimum iOS implementation version to include a privacy manifest.
4+
* Updates minimum supported SDK version to Flutter 3.16.6/Dart 3.2.3.
5+
16
## 2.8.5
27

38
* Updates example to call `super.dispose()` last.

packages/video_player/video_player/pubspec.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ description: Flutter plugin for displaying inline video with other Flutter
33
widgets on Android, iOS, and web.
44
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
6-
version: 2.8.5
6+
version: 2.8.6
77

88
environment:
9-
sdk: ">=3.1.0 <4.0.0"
10-
flutter: ">=3.13.0"
9+
sdk: ">=3.2.3 <4.0.0"
10+
flutter: ">=3.16.6"
1111

1212
flutter:
1313
plugin:
@@ -26,7 +26,7 @@ dependencies:
2626
sdk: flutter
2727
html: ^0.15.0
2828
video_player_android: ^2.3.5
29-
video_player_avfoundation: ^2.5.0
29+
video_player_avfoundation: ^2.5.6
3030
video_player_platform_interface: ">=6.1.0 <7.0.0"
3131
video_player_web: ^2.0.0
3232

0 commit comments

Comments
 (0)