Skip to content

Commit f302473

Browse files
Windows nullsafety prep (flutter#3442)
shared_preferences_windows depends on path_provider_windows, and both use 'ffi'. This relaxes the 'ffi' version constraint on shared_preferences_windows to allow path_provider_windows to be migrated to null-safety (which requires updating to the nullsafe version of ffi). Part of flutter#70229
1 parent bea4b14 commit f302473

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/shared_preferences/shared_preferences_windows/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.2+2
2+
3+
* Relax 'ffi' version constraint.
4+
15
## 0.0.2+1
26

37
* Update Flutter SDK constraint.

packages/shared_preferences/shared_preferences_windows/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: shared_preferences_windows
22
description: Windows implementation of shared_preferences
33
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_windows
4-
version: 0.0.2+1
4+
version: 0.0.2+2
55

66
flutter:
77
plugin:
@@ -18,7 +18,7 @@ dependencies:
1818
shared_preferences_platform_interface: ^1.0.0
1919
flutter:
2020
sdk: flutter
21-
ffi: ^0.1.3
21+
ffi: ">=0.1.3 < 0.3.0"
2222
file: ">=5.1.0 <7.0.0"
2323
meta: ^1.1.7
2424
path: ^1.6.4

0 commit comments

Comments
 (0)