@24i/smartapps-bigscreen-rnv-build-engine 0.17.23 → 0.17.25-alpha.2720
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates/platforms/androidtv/project/amazoniap/build.gradle +6 -6
- package/dist/templates/platforms/androidtv/project/app/build.gradle +16 -13
- package/dist/templates/platforms/androidtv/project/app/src/main/java/com/twentyfouri/tvbridge/global/utils/PlayerFactoryExoPlayerCustomized.kt +6 -0
- package/dist/templates/platforms/androidtv/project/app/src/main/java/com/twentyfouri/tvbridge/sound/TouchPlayer.kt +1 -1
- package/dist/templates/platforms/androidtv/project/build.gradle +5 -9
- package/dist/templates/platforms/androidtv/project/common/build.gradle +6 -6
- package/dist/templates/platforms/androidtv/project/googleiap/build.gradle +7 -7
- package/dist/templates/platforms/androidtv/project/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/package.json +1 -1
|
@@ -3,16 +3,16 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
|
|
4
4
|
android {
|
|
5
5
|
namespace = "com.twentyfouri.androidtv.amazoniap"
|
|
6
|
-
compileSdk =
|
|
6
|
+
compileSdk = 34
|
|
7
7
|
|
|
8
8
|
compileOptions {
|
|
9
|
-
sourceCompatibility JavaVersion.
|
|
10
|
-
targetCompatibility JavaVersion.
|
|
9
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
10
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
defaultConfig {
|
|
14
14
|
minSdk = 21
|
|
15
|
-
targetSdk =
|
|
15
|
+
targetSdk = 34
|
|
16
16
|
|
|
17
17
|
versionCode 1
|
|
18
18
|
versionName "1.0"
|
|
@@ -32,7 +32,7 @@ android {
|
|
|
32
32
|
dependencies {
|
|
33
33
|
api fileTree(dir: "libs", include: ["*.jar"])
|
|
34
34
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
35
|
-
implementation 'androidx.core:core-ktx:1.
|
|
36
|
-
implementation 'androidx.appcompat:appcompat:1.
|
|
35
|
+
implementation 'androidx.core:core-ktx:1.13.1'
|
|
36
|
+
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
37
37
|
implementation project(':common')
|
|
38
38
|
}
|
|
@@ -12,13 +12,14 @@ android {
|
|
|
12
12
|
compileSdk = {{COMPILE_SDK_VERSION}}
|
|
13
13
|
|
|
14
14
|
compileOptions {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
coreLibraryDesugaringEnabled true
|
|
16
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
17
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
kotlinOptions {
|
|
20
|
-
jvmTarget = '
|
|
21
|
-
freeCompilerArgs = ['-Xjvm-default=compatibility']
|
|
21
|
+
jvmTarget = '17'
|
|
22
|
+
freeCompilerArgs = ['-Xjvm-default=all-compatibility']
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
packagingOptions {
|
|
@@ -83,14 +84,16 @@ android {
|
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
dependencies {
|
|
87
|
+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4'
|
|
88
|
+
|
|
86
89
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
87
90
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
88
91
|
api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
89
|
-
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.
|
|
92
|
+
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.1"
|
|
90
93
|
|
|
91
94
|
compileOnly "javax.annotation:jsr250-api:1.0"
|
|
92
|
-
implementation 'androidx.core:core-ktx:1.
|
|
93
|
-
implementation "androidx.appcompat:appcompat:1.
|
|
95
|
+
implementation 'androidx.core:core-ktx:1.13.1'
|
|
96
|
+
implementation "androidx.appcompat:appcompat:1.7.0"
|
|
94
97
|
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
95
98
|
|
|
96
99
|
implementation "com.google.dagger:dagger:2.48.1"
|
|
@@ -101,13 +104,13 @@ dependencies {
|
|
|
101
104
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.2"
|
|
102
105
|
implementation "com.squareup.okhttp3:okhttp:4.9.2"
|
|
103
106
|
if (useTheoPlayer) {
|
|
104
|
-
compileOnly "com.twentyfouri.player:exoplayer:0.7.
|
|
105
|
-
implementation "com.twentyfouri.player:theoplayer:0.7.
|
|
106
|
-
implementation "com.theoplayer.theoplayer-sdk-android:core:
|
|
107
|
+
compileOnly "com.twentyfouri.player:exoplayer:0.7.1-alpha.1"
|
|
108
|
+
implementation "com.twentyfouri.player:theoplayer:0.7.1-alpha.1"
|
|
109
|
+
implementation "com.theoplayer.theoplayer-sdk-android:core:7.8.0"
|
|
107
110
|
} else {
|
|
108
|
-
implementation "com.twentyfouri.player:exoplayer:0.7.
|
|
109
|
-
compileOnly "com.twentyfouri.player:theoplayer:0.7.
|
|
110
|
-
compileOnly "com.theoplayer.theoplayer-sdk-android:core:
|
|
111
|
+
implementation "com.twentyfouri.player:exoplayer:0.7.1-alpha.1"
|
|
112
|
+
compileOnly "com.twentyfouri.player:theoplayer:0.7.1-alpha.1"
|
|
113
|
+
compileOnly "com.theoplayer.theoplayer-sdk-android:core:7.8.0"
|
|
111
114
|
}
|
|
112
115
|
|
|
113
116
|
if (useNpawPlugin) {
|
|
@@ -37,6 +37,12 @@ class PlayerFactoryExoPlayerCustomized(
|
|
|
37
37
|
override fun buildIsolatedComponents(): PlayerComponents {
|
|
38
38
|
return CustomizedPlayerComponents(this)
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
override val mainSourceProvider: MediaSourceFactoryProvider by lazy {
|
|
42
|
+
DefaultMediaSourceFactoryProvider().also {
|
|
43
|
+
it.useLiveMediaTailorWorkaround = true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
private inner class CustomizedPlayerComponents(shared: SharedComponents) : DefaultPlayerComponents(shared) {
|
|
@@ -23,7 +23,7 @@ class TouchPlayer(
|
|
|
23
23
|
companion object {
|
|
24
24
|
private const val MEDIA_PLAYER_LIST_SIZE = 1L
|
|
25
25
|
@RawRes
|
|
26
|
-
private
|
|
26
|
+
private val TOUCH_SOUND_RES = R.raw.click
|
|
27
27
|
private const val USE_NATIVE_SOUND = true
|
|
28
28
|
private var audioManager: AudioManager? = null
|
|
29
29
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
ext.kotlin_version = '1.
|
|
2
|
+
ext.kotlin_version = '1.9.22'
|
|
3
3
|
|
|
4
4
|
repositories {
|
|
5
5
|
google()
|
|
6
|
-
|
|
7
|
-
maven {
|
|
8
|
-
url 'https://maven.google.com/'
|
|
9
|
-
name 'Google'
|
|
10
|
-
}
|
|
6
|
+
mavenCentral()
|
|
11
7
|
}
|
|
12
8
|
dependencies {
|
|
13
|
-
classpath 'com.android.tools.build:gradle:
|
|
9
|
+
classpath 'com.android.tools.build:gradle:8.5.1'
|
|
14
10
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
15
|
-
classpath 'com.google.gms:google-services:4.4.
|
|
16
|
-
classpath 'com.google.firebase:firebase-crashlytics-gradle:
|
|
11
|
+
classpath 'com.google.gms:google-services:4.4.2'
|
|
12
|
+
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.2'
|
|
17
13
|
|
|
18
14
|
// NOTE: Do not place your application dependencies here; they belong
|
|
19
15
|
// in the individual module build.gradle files
|
|
@@ -3,16 +3,16 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
|
|
4
4
|
android {
|
|
5
5
|
namespace = "com.twentyfouri.tvbridge.common"
|
|
6
|
-
compileSdk =
|
|
6
|
+
compileSdk = 34
|
|
7
7
|
|
|
8
8
|
compileOptions {
|
|
9
|
-
sourceCompatibility JavaVersion.
|
|
10
|
-
targetCompatibility JavaVersion.
|
|
9
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
10
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
defaultConfig {
|
|
14
14
|
minSdk = 21
|
|
15
|
-
targetSdk =
|
|
15
|
+
targetSdk = 34
|
|
16
16
|
|
|
17
17
|
versionCode 1
|
|
18
18
|
versionName "1.0"
|
|
@@ -32,6 +32,6 @@ android {
|
|
|
32
32
|
dependencies {
|
|
33
33
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
34
34
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
35
|
-
implementation 'androidx.core:core-ktx:1.
|
|
36
|
-
implementation 'androidx.appcompat:appcompat:1.
|
|
35
|
+
implementation 'androidx.core:core-ktx:1.13.1'
|
|
36
|
+
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
37
37
|
}
|
|
@@ -3,16 +3,16 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
|
|
4
4
|
android {
|
|
5
5
|
namespace = "com.twentyfouri.tvbridge.googleiap"
|
|
6
|
-
compileSdk =
|
|
6
|
+
compileSdk = 34
|
|
7
7
|
|
|
8
8
|
compileOptions {
|
|
9
|
-
sourceCompatibility JavaVersion.
|
|
10
|
-
targetCompatibility JavaVersion.
|
|
9
|
+
sourceCompatibility JavaVersion.VERSION_17
|
|
10
|
+
targetCompatibility JavaVersion.VERSION_17
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
defaultConfig {
|
|
14
14
|
minSdk = 21
|
|
15
|
-
targetSdk =
|
|
15
|
+
targetSdk = 34
|
|
16
16
|
|
|
17
17
|
versionCode 1
|
|
18
18
|
versionName "1.0"
|
|
@@ -32,8 +32,8 @@ android {
|
|
|
32
32
|
dependencies {
|
|
33
33
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
34
34
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
35
|
-
implementation 'androidx.core:core-ktx:1.
|
|
36
|
-
implementation 'androidx.appcompat:appcompat:1.
|
|
35
|
+
implementation 'androidx.core:core-ktx:1.13.1'
|
|
36
|
+
implementation 'androidx.appcompat:appcompat:1.7.0'
|
|
37
37
|
implementation project(':common')
|
|
38
|
-
implementation 'com.android.billingclient:billing:
|
|
38
|
+
implementation 'com.android.billingclient:billing-ktx:6.2.1'
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#Thu Jun 02 10:20:44 CEST 2022
|
|
2
2
|
distributionBase=GRADLE_USER_HOME
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-7
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
|
|
4
4
|
distributionPath=wrapper/dists
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
package/package.json
CHANGED