Skip to content

Commit 11b6839

Browse files
committed
change back to API 27
1 parent 8dea9e5 commit 11b6839

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# [0.4.2]
2+
* **BREAKING CHANGE** Fix issue [127] (https://github.com/MaikuB/flutter_local_notifications/issues/127) by changing plugin to Android Support Library version 27.1.1, compile and target SDK version to 27 due to issues Flutter has with API 28.
3+
14
# [0.4.1+1]
25
* Remove unused code in example app
36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ allprojects {
307307
resolutionStrategy.eachDependency { details ->
308308
if (details.requested.group == 'com.android.support'
309309
&& !details.requested.name.contains('multidex') ) {
310-
details.useVersion "28.0.0"
310+
details.useVersion "27.1.1"
311311
}
312312
}
313313
}

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rootProject.allprojects {
2222
apply plugin: 'com.android.library'
2323

2424
android {
25-
compileSdkVersion 28
25+
compileSdkVersion 27
2626

2727
defaultConfig {
2828
minSdkVersion 16
@@ -34,6 +34,6 @@ android {
3434
}
3535

3636
dependencies {
37-
implementation "com.android.support:support-compat:28.0.0"
37+
implementation "com.android.support:support-compat:27.1.1"
3838
implementation "com.google.code.gson:gson:2.8.2"
3939
}

example/android/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
1515
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1616

1717
android {
18-
compileSdkVersion 28
18+
compileSdkVersion 27
1919

2020
lintOptions {
2121
disable 'InvalidPackage'
@@ -25,7 +25,7 @@ android {
2525
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2626
applicationId "com.dexterous.flutterlocalnotificationsexample"
2727
minSdkVersion 16
28-
targetSdkVersion 28
28+
targetSdkVersion 27
2929
versionCode 1
3030
versionName "1.0"
3131
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -48,5 +48,5 @@ dependencies {
4848
testImplementation 'junit:junit:4.12'
4949
androidTestImplementation 'com.android.support.test:runner:1.0.1'
5050
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
51-
implementation "com.android.support:support-compat:28.0.0"
51+
implementation "com.android.support:support-compat:27.1.1"
5252
}

0 commit comments

Comments
 (0)