This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +37
-10
lines changed Expand file tree Collapse file tree 7 files changed +37
-10
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.8.0
2
+
3
+ * Android: Upgrade ExoPlayer to 2.9.1
4
+ * Android: Use current gradle dependencies
5
+ * Android 9 compatibility fixes for Demo App
6
+
1
7
## 0.7.2
2
8
3
9
* Updated to use factories on exoplayer ` MediaSource ` s for Android instead of the now-deprecated constructors.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ buildscript {
8
8
}
9
9
10
10
dependencies {
11
- classpath ' com.android.tools.build:gradle:3.1.2 '
11
+ classpath ' com.android.tools.build:gradle:3.2.1 '
12
12
}
13
13
}
14
14
@@ -22,7 +22,7 @@ rootProject.allprojects {
22
22
apply plugin : ' com.android.library'
23
23
24
24
android {
25
- compileSdkVersion 27
25
+ compileSdkVersion 28
26
26
27
27
defaultConfig {
28
28
minSdkVersion 16
@@ -31,11 +31,17 @@ android {
31
31
lintOptions {
32
32
disable ' InvalidPackage'
33
33
}
34
+ android {
35
+ compileOptions {
36
+ sourceCompatibility 1.8
37
+ targetCompatibility 1.8
38
+ }
39
+ }
34
40
35
41
dependencies {
36
- implementation ' com.google.android.exoplayer:exoplayer-core:2.8.0 '
37
- implementation ' com.google.android.exoplayer:exoplayer-hls:2.8.0 '
38
- implementation ' com.google.android.exoplayer:exoplayer-dash:2.8.0 '
39
- implementation ' com.google.android.exoplayer:exoplayer-smoothstreaming:2.8.0 '
42
+ implementation ' com.google.android.exoplayer:exoplayer-core:2.9.1 '
43
+ implementation ' com.google.android.exoplayer:exoplayer-hls:2.9.1 '
44
+ implementation ' com.google.android.exoplayer:exoplayer-dash:2.9.1 '
45
+ implementation ' com.google.android.exoplayer:exoplayer-smoothstreaming:2.9.1 '
40
46
}
41
47
}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
15
15
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
16
16
17
17
android {
18
- compileSdkVersion 27
18
+ compileSdkVersion 28
19
19
20
20
lintOptions {
21
21
disable ' InvalidPackage'
@@ -27,6 +27,13 @@ android {
27
27
testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
28
28
}
29
29
30
+ android {
31
+ compileOptions {
32
+ sourceCompatibility 1.8
33
+ targetCompatibility 1.8
34
+ }
35
+ }
36
+
30
37
buildTypes {
31
38
release {
32
39
// TODO: Add your own signing config for the release build.
Original file line number Diff line number Diff line change 6
6
<application
7
7
android : name =" io.flutter.app.FlutterApplication"
8
8
android : label =" video_player_example"
9
- android : icon =" @mipmap/ic_launcher" >
9
+ android : icon =" @mipmap/ic_launcher"
10
+ android : networkSecurityConfig =" @xml/network_security_config" >
10
11
<activity
11
12
android : name =" .MainActivity"
12
13
android : launchMode =" singleTop"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <domain-config cleartextTrafficPermitted =" true" >
4
+ <domain includeSubdomains =" true" >www.sample-videos.com</domain >
5
+ <domain includeSubdomains =" true" >184.72.239.149</domain >
6
+ </domain-config >
7
+ </network-security-config >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
}
6
6
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:3.1.2 '
8
+ classpath ' com.android.tools.build:gradle:3.2.1 '
9
9
}
10
10
}
11
11
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: video_player
2
2
description : Flutter plugin for displaying inline video with other Flutter
3
3
widgets on Android and iOS.
4
4
author : Flutter Team <flutter-dev@googlegroups.com>
5
- version : 0.7.2
5
+ version : 0.8.0
6
6
homepage : https://github.com/flutter/plugins/tree/master/packages/video_player
7
7
8
8
flutter :
You can’t perform that action at this time.
0 commit comments