diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 7457277..f90a859 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -57,6 +57,9 @@ android { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. + minifyEnabled true + shrinkResources true + crunchPngs false signingConfig signingConfigs.debug } } diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 3f41384..fddc487 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,7 @@ - + diff --git a/example/lib/custom/initial_images_custom_example.dart b/example/lib/custom/initial_images_custom_example.dart index df6cf99..a8f9fdb 100644 --- a/example/lib/custom/initial_images_custom_example.dart +++ b/example/lib/custom/initial_images_custom_example.dart @@ -22,14 +22,14 @@ class _InitialImagesCustomExampleState name: "test-image.jpg", extension: "jpg", path: - "https://cc-prod.scene7.com/is/image/CCProdAuthor/What-is-Stock-Photography_P1_mobile", + "https://cdn.pixabay.com/photo/2024/06/18/21/37/bali-8838762_640.jpg", ), ImageFile( UniqueKey().toString(), - name: "test-document.pdf", - extension: "pdf", + name: "test-image-2.jpg", + extension: "jpg", path: - "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", + "https://cdn.pixabay.com/photo/2024/07/20/18/49/stars-8908843_640.jpg", ), ], picker: (bool allowMultiple) {