@24i/smartapps-bigscreen-rnv-build-engine 0.17.7-alpha.1 → 0.17.8
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.
|
@@ -67,9 +67,9 @@ const buildAndroidTVProject = async (c) => {
|
|
|
67
67
|
const taskBundleName = `bundle${taskFlavourName}${taskBuildType}`;
|
|
68
68
|
const cmd1 = `cd ${projectDir} && ${gradlew} --stacktrace ${taskAssembleName}`;
|
|
69
69
|
const cmd2 = `cd ${projectDir} && ${gradlew} --stacktrace ${taskBundleName}`;
|
|
70
|
-
console.log(`Running command
|
|
70
|
+
console.log(`Running command: ${cmd1}`);
|
|
71
71
|
(0, child_process_1.execSync)(cmd1, { stdio: 'inherit' });
|
|
72
|
-
console.log(`Running command
|
|
72
|
+
console.log(`Running command: ${cmd2}`);
|
|
73
73
|
(0, child_process_1.execSync)(cmd2, { stdio: 'inherit' });
|
|
74
74
|
fs.rmSync(tmpOutputDir, { recursive: true, force: true });
|
|
75
75
|
fs.mkdirSync(tmpOutputDir);
|
|
@@ -96,11 +96,11 @@ dependencies {
|
|
|
96
96
|
implementation "com.squareup.okhttp3:logging-interceptor:4.9.2"
|
|
97
97
|
implementation "com.squareup.okhttp3:okhttp:4.9.2"
|
|
98
98
|
if (useTheoPlayer) {
|
|
99
|
-
compileOnly "com.twentyfouri.player:exoplayer:0.6.0-alpha.
|
|
100
|
-
implementation "com.twentyfouri.player:theoplayer:0.6.0-alpha.
|
|
99
|
+
compileOnly "com.twentyfouri.player:exoplayer:0.6.0-alpha.40"
|
|
100
|
+
implementation "com.twentyfouri.player:theoplayer:0.6.0-alpha.40"
|
|
101
101
|
} else {
|
|
102
|
-
implementation "com.twentyfouri.player:exoplayer:0.6.0-alpha.
|
|
103
|
-
compileOnly "com.twentyfouri.player:theoplayer:0.6.0-alpha.
|
|
102
|
+
implementation "com.twentyfouri.player:exoplayer:0.6.0-alpha.40"
|
|
103
|
+
compileOnly "com.twentyfouri.player:theoplayer:0.6.0-alpha.40"
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
implementation project(':common')
|
|
@@ -261,16 +261,16 @@ class BridgeFromJavaScript(
|
|
|
261
261
|
*/
|
|
262
262
|
@JavascriptInterface
|
|
263
263
|
fun bridgeJavaScriptToAndroid_getCurrentAudioTrack(): String? = runBlocking("bridgeJavaScriptToAndroid_getCurrentAudioTrack") {
|
|
264
|
-
viewModel.audioTrack?.let { toJson(it) }
|
|
265
|
-
}
|
|
264
|
+
viewModel.audioTrack?.let { toJson(it) }
|
|
265
|
+
} ?: DISABLED_AUDIO_TRACK
|
|
266
266
|
|
|
267
267
|
/*
|
|
268
268
|
Returns current AUDIO track to the player
|
|
269
269
|
*/
|
|
270
270
|
@JavascriptInterface
|
|
271
271
|
fun bridgeJavaScriptToAndroid_getCurrentSubtitleTrack(): String? = runBlocking("bridgeJavaScriptToAndroid_getCurrentSubtitleTrack") {
|
|
272
|
-
viewModel.subtitleTrack?.let { toJson(it) }
|
|
273
|
-
}
|
|
272
|
+
viewModel.subtitleTrack?.let { toJson(it) }
|
|
273
|
+
} ?: DISABLED_SUBTITLE_TRACK
|
|
274
274
|
|
|
275
275
|
/*
|
|
276
276
|
Set the cookies to localstorage
|