File tree Expand file tree Collapse file tree 6 files changed +19
-10
lines changed
src/main/java/com/pauldemarco/flutterblue Expand file tree Collapse file tree 6 files changed +19
-10
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.5.0
2
+ * ** Breaking change** . Migrate from the deprecated original Android Support
3
+ Library to AndroidX. This shouldn't result in any functional changes, but it
4
+ requires any Android apps using this plugin to [ also
5
+ migrate] ( https://developer.android.com/jetpack/androidx/migrate ) if they're
6
+ using the original support library.
7
+
1
8
## 0.4.2+1
2
9
* Upgrade Android Gradle plugin to 3.3.0
3
10
* Refresh iOS build files
Original file line number Diff line number Diff line change @@ -24,19 +24,19 @@ apply plugin: 'com.android.library'
24
24
apply plugin : ' com.google.protobuf'
25
25
26
26
android {
27
- compileSdkVersion 27
27
+ compileSdkVersion 28
28
28
29
29
defaultConfig {
30
30
minSdkVersion 19
31
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
31
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
32
32
}
33
33
lintOptions {
34
34
disable ' InvalidPackage'
35
35
}
36
36
dependencies {
37
37
// Required for local unit tests (JUnit 4 framework)
38
38
testImplementation ' junit:junit:4.12'
39
- implementation ' com.android.support:support-compat:27.1 .1'
39
+ implementation ' androidx.core:core:1.0 .1'
40
40
// compile files('/home/paul/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar')
41
41
}
42
42
sourceSets {
Original file line number Diff line number Diff line change 27
27
import android .content .pm .PackageManager ;
28
28
import android .os .Build ;
29
29
import android .os .ParcelUuid ;
30
- import android .support .v4 .app .ActivityCompat ;
31
- import android .support .v4 .content .ContextCompat ;
32
30
import android .util .Log ;
33
31
34
32
import com .google .protobuf .ByteString ;
40
38
import java .util .Map ;
41
39
import java .util .UUID ;
42
40
41
+ import androidx .core .app .ActivityCompat ;
42
+ import androidx .core .content .ContextCompat ;
43
43
import io .flutter .plugin .common .EventChannel ;
44
44
import io .flutter .plugin .common .EventChannel .EventSink ;
45
45
import io .flutter .plugin .common .EventChannel .StreamHandler ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
25
25
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
26
26
27
27
android {
28
- compileSdkVersion 27
28
+ compileSdkVersion 28
29
29
30
30
lintOptions {
31
31
disable ' InvalidPackage'
@@ -38,7 +38,7 @@ android {
38
38
targetSdkVersion 27
39
39
versionCode flutterVersionCode. toInteger()
40
40
versionName flutterVersionName
41
- testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner"
41
+ testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner"
42
42
}
43
43
44
44
buildTypes {
@@ -56,6 +56,6 @@ flutter {
56
56
57
57
dependencies {
58
58
testImplementation ' junit:junit:4.12'
59
- androidTestImplementation ' com.android.support. test:runner:1.0.2 '
60
- androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 '
59
+ androidTestImplementation ' androidx. test:runner:1.1.2-alpha01 '
60
+ androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.2-alpha01 '
61
61
}
Original file line number Diff line number Diff line change
1
+ android.enableJetifier =true
2
+ android.useAndroidX =true
1
3
org.gradle.jvmargs =-Xmx1536M
Original file line number Diff line number Diff line change 1
1
name : flutter_blue
2
2
description : Bluetooth plugin for Flutter
3
- version : 0.4.2+1
3
+ version : 0.5.0
4
4
author :
Paul DeMarco <[email protected] >
5
5
homepage : https://github.com/pauldemarco/flutter_blue
6
6
You can’t perform that action at this time.
0 commit comments