@24i/smartapps-bigscreen-rnv-build-engine 0.17.12 → 0.17.13
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.
|
@@ -100,10 +100,15 @@ const configureSigning = (c) => {
|
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
const { getConfigProp } = rnv_1.Common;
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
const platformKey = c.platform === constants_1.Platforms.FIRETV ? 'FIRETV' : 'ANDROIDTV';
|
|
104
|
+
const getValue = (envKey, configKey) => {
|
|
105
|
+
const [key1, key2] = [platformKey, 'ANDROIDTV'].map((platform) => `${platform}_${envKey}`);
|
|
106
|
+
return process.env[key1] ?? process.env[key2] ?? getConfigProp(c, c.platform, configKey);
|
|
107
|
+
};
|
|
108
|
+
const storeFile = getValue('STORE_FILE', 'storeFile');
|
|
109
|
+
const keyAlias = getValue('KEY_ALIAS', 'keyAlias');
|
|
110
|
+
const storePassword = getValue('STORE_PASSWORD', 'storePassword');
|
|
111
|
+
const keyPassword = getValue('KEY_PASSWORD', 'keyPassword');
|
|
107
112
|
const srcStoreFilePath = path.join(process.cwd(), storeFile);
|
|
108
113
|
const destStoreFilePath = path.join(rnv_1.Common.getPlatformProjectDir(c), storeFile);
|
|
109
114
|
const destStoreFileDir = path.parse(destStoreFilePath).dir;
|
|
@@ -100,9 +100,11 @@ dependencies {
|
|
|
100
100
|
if (useTheoPlayer) {
|
|
101
101
|
compileOnly "com.twentyfouri.player:exoplayer:0.7.0-alpha.3"
|
|
102
102
|
implementation "com.twentyfouri.player:theoplayer:0.7.0-alpha.3"
|
|
103
|
+
implementation "com.theoplayer.theoplayer-sdk-android:core:6.2.1"
|
|
103
104
|
} else {
|
|
104
105
|
implementation "com.twentyfouri.player:exoplayer:0.7.0-alpha.3"
|
|
105
106
|
compileOnly "com.twentyfouri.player:theoplayer:0.7.0-alpha.3"
|
|
107
|
+
compileOnly "com.theoplayer.theoplayer-sdk-android:core:6.2.1"
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
implementation project(':common')
|