Skip to content

Commit 3013e07

Browse files
rajveermalviyagnprice
authored andcommitted
deps: Update file_picker to 10.1.2, from 9.2.1
Changelog: https://pub.dev/packages/file_picker/changelog#1012 There are two breaking changes, one about deprecating an option `allowCompression` and changing the default to false (was true), and another about changing default for `compressionQuality` to 0 (was 30). This means previously it used to compress media by default and now it doesn't. See discussion for why we take in the new defaults: #1474 (comment) There is also a lint error that is caused by a dependency of package:file_picker. I didn't find any reports about it upstream, and we probably aren't affected by it (confirmed by running simple upload tests of a PDF, an XML file and an image, and didn't see any errors/crashes), so for now added a suppression for that error. Also we're planning to switch away from this library anyway (#855).
1 parent 6d2a102 commit 3013e07

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ android {
7777
// https://developer.android.com/reference/tools/gradle-api/8.5/com/android/build/api/dsl/Lint
7878
checkAllWarnings = true
7979
warningsAsErrors = true
80+
baseline = file("lint-baseline.xml")
8081
}
8182
}
8283

android/app/lint-baseline.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<issues format="6" by="lint 8.5.2" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.2)" variant="all" version="8.5.2">
3+
4+
<issue
5+
id="InvalidPackage"
6+
message="Invalid package reference in library; not included in Android: `javax.xml.stream`. Referenced from `org.apache.tika.utils.XMLReaderUtils`.">
7+
<location
8+
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.apache.tika/tika-core/3.1.0/6ba44a9ddf8f6f2b4bc88e8bc64269aea0424607/tika-core-3.1.0.jar"/>
9+
</issue>
10+
11+
</issues>

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ packages:
310310
dependency: "direct main"
311311
description:
312312
name: file_picker
313-
sha256: "8d938fd5c11dc81bf1acd4f7f0486c683fe9e79a0b13419e27730f9ce4d8a25b"
313+
sha256: "8986dec4581b4bcd4b6df5d75a2ea0bede3db802f500635d05fa8be298f9467f"
314314
url: "https://pub.dev"
315315
source: hosted
316-
version: "9.2.1"
316+
version: "10.1.2"
317317
file_selector_linux:
318318
dependency: transitive
319319
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies:
4141
crypto: ^3.0.3
4242
device_info_plus: ^11.2.0
4343
drift: ^2.23.0
44-
file_picker: ^9.0.2
44+
file_picker: ^10.1.2
4545
firebase_core: ^3.3.0
4646
firebase_messaging: ^15.0.1
4747
flutter_color_models: ^1.3.3+2

0 commit comments

Comments
 (0)