@24i/smartapps-bigscreen-rnv-build-engine 0.18.2-alpha.2845 → 0.18.2-alpha.2846
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/src/sdks/sdk-androidtv/sdkAndroidtv.js +5 -0
- package/dist/templates/platforms/androidtv/project/app/build.gradle +3 -1
- package/dist/templates/platforms/androidtv/project/app/src/main/kotlin/com/twentyfouri/tvbridge/configuration/BridgeConfig.kt +1 -0
- package/dist/templates/platforms/androidtv/project/app/src/main/kotlin/com/twentyfouri/tvbridge/global/utils/PlayerFactoryBitmovinCustomized.kt +3 -1
- package/package.json +1 -1
|
@@ -200,6 +200,8 @@ const configureEntryUrl = (c) => {
|
|
|
200
200
|
const entryUrl = getHostedAppEntryUrl(c);
|
|
201
201
|
const bitmovinLicense = process.env.BITMOVIN_LICENSE
|
|
202
202
|
|| rnv_1.Common.getConfigProp(c, c.platform, 'bitmovinLicense', '');
|
|
203
|
+
const bitmovinAnalytics = process.env.BITMOVIN_ANALYTICS
|
|
204
|
+
|| rnv_1.Common.getConfigProp(c, c.platform, 'bitmovinAnalytics', '');
|
|
203
205
|
const npawAccountCode = process.env.NPAW_ACCOUNT_CODE
|
|
204
206
|
|| rnv_1.Common.getConfigProp(c, c.platform, 'npawAccountCode', '');
|
|
205
207
|
const enableImaSdk = !!rnv_1.Common.getConfigProp(c, c.platform, 'enableImaSdk', false);
|
|
@@ -209,6 +211,9 @@ const configureEntryUrl = (c) => {
|
|
|
209
211
|
}, {
|
|
210
212
|
pattern: '{{BITMOVIN_LICENSE}}',
|
|
211
213
|
override: bitmovinLicense,
|
|
214
|
+
}, {
|
|
215
|
+
pattern: '{{BITMOVIN_ANALYTICS}}',
|
|
216
|
+
override: bitmovinAnalytics,
|
|
212
217
|
}, {
|
|
213
218
|
pattern: '{{NPAW_ACCOUNT_CODE}}',
|
|
214
219
|
override: npawAccountCode,
|
|
@@ -7,12 +7,13 @@ plugins {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
def bitmovinLicense = '{{BITMOVIN_LICENSE}}'
|
|
10
|
+
def bitmovinAnalytics = '{{BITMOVIN_ANALYTICS}}'
|
|
10
11
|
def useBitmovin = bitmovinLicense != ''
|
|
11
12
|
def npawAccountCode = '{{NPAW_ACCOUNT_CODE}}'
|
|
12
13
|
def useNpawPlugin = npawAccountCode != ''
|
|
13
14
|
def useImaSdk = {{ENABLE_IMA_SDK}}
|
|
14
15
|
|
|
15
|
-
def player_version = '0.8.0-alpha.
|
|
16
|
+
def player_version = '0.8.0-alpha.43'
|
|
16
17
|
|
|
17
18
|
android {
|
|
18
19
|
namespace = 'com.twentyfouri.tvbridge'
|
|
@@ -42,6 +43,7 @@ android {
|
|
|
42
43
|
|
|
43
44
|
buildConfigField "String", "APP_URL", '"{{APP_URL}}"'
|
|
44
45
|
buildConfigField "String", "BITMOVIN_LICENSE", "\"$bitmovinLicense\""
|
|
46
|
+
buildConfigField "String", "BITMOVIN_ANALYTICS", "\"$bitmovinAnalytics\""
|
|
45
47
|
buildConfigField "String", "NPAW_ACCOUNT_CODE", "\"$npawAccountCode\""
|
|
46
48
|
buildConfigField "Boolean", "startWithHighVideoQuality", "true"
|
|
47
49
|
}
|
|
@@ -14,5 +14,6 @@ class BridgeConfig {
|
|
|
14
14
|
var customizableUrl: Boolean = BuildConfig.DEBUG
|
|
15
15
|
var startWithHighVideoQuality: Boolean = false
|
|
16
16
|
var bitmovinLicense: String = BuildConfig.BITMOVIN_LICENSE
|
|
17
|
+
var bitmovinAnalytics: String = BuildConfig.BITMOVIN_ANALYTICS
|
|
17
18
|
var npawAccount: String = BuildConfig.NPAW_ACCOUNT_CODE
|
|
18
19
|
}
|
|
@@ -2,6 +2,7 @@ package com.twentyfouri.tvbridge.global.utils
|
|
|
2
2
|
|
|
3
3
|
import android.app.Application
|
|
4
4
|
import com.twentyfouri.player.bitmovin.NpawConfig
|
|
5
|
+
import com.twentyfouri.player.bitmovin.PlayerBitmovin
|
|
5
6
|
import com.twentyfouri.player.bitmovin.PlayerFactoryBitmovin
|
|
6
7
|
import com.twentyfouri.tvbridge.configuration.BridgeConfig
|
|
7
8
|
|
|
@@ -12,6 +13,7 @@ class PlayerFactoryBitmovinCustomized(config: BridgeConfig, application: Applica
|
|
|
12
13
|
NpawConfig(config.npawAccount, application)
|
|
13
14
|
} else {
|
|
14
15
|
null
|
|
15
|
-
}
|
|
16
|
+
},
|
|
17
|
+
config.bitmovinAnalytics.ifEmpty { PlayerBitmovin.ANALYTICS_LICENSE_DEFERRED }
|
|
16
18
|
),
|
|
17
19
|
PlayerFactoryVersion
|
package/package.json
CHANGED