diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a07a84..ed5614f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +## 1.2.28 +* android高版本兼容 + ## 1.2.27 * android升级4.610.1480 + ## 1.2.26 * 新增安卓隐私合规,是否开启收集应用安装状态(感谢@[langyuxiansheng](https://github.com/langyuxiansheng) pr) diff --git a/android/build.gradle b/android/build.gradle index c07eb5a..34c1b09 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -31,6 +31,15 @@ android { namespace = "com.gstory.flutter_tencentad" compileSdkVersion 28 + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + kotlinOptions { + jvmTarget = '1.8' + } + sourceSets { main.java.srcDirs += 'src/main/kotlin' } diff --git a/pubspec.yaml b/pubspec.yaml index 13d53c7..3ec4f98 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_tencentad description: A flutter plugin for TencentAD.It is convenient for Android and IOS to directly call the method and native view of advertisement SDK. -version: 1.2.27 +version: 1.2.28 homepage: https://github.com/gstory0404/flutter_tencentad environment: