From 9c6340b2c3cfdd27289fd6391972762a6f80fceb Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 8 Feb 2021 18:32:52 +0100 Subject: [PATCH] Fixed launch bug related to Android 4.0.1 gradle plugin --- CHANGELOG.md | 4 ++-- android/build.gradle | 4 +++- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b6dad2..94cf2de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # CHANGELOG -## 1.0.0+3 -* Fixed launch bug +## 1.0.0+3 and 1.0.0+4 +* Fixed launch bug related to Android 4.0.1 gradle plugin ## 1.0.0+2 * Automatic refresh history if something has been uploaded diff --git a/android/build.gradle b/android/build.gradle index 205da3d..7941590 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,9 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.0.1' + // TODO switch to 4.0.1 again: https://github.com/flutter/flutter/issues/58479 + // TODO switch to 4.0.1 again: https://github.com/miguelpruivo/flutter_file_picker/issues/545 + classpath 'com.android.tools.build:gradle:3.6.2' } } diff --git a/pubspec.yaml b/pubspec.yaml index 875c88e..5b4dca1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: A mobile client for FileBin. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+3 +version: 1.0.0+4 environment: sdk: ">=2.7.0 <3.0.0"