@24i/smartapps-bigscreen-rnv-build-engine 0.17.12 → 0.17.13-alpha.2609

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 storeFile = process.env.ANDROIDTV_STORE_FILE ?? getConfigProp(c, c.platform, 'storeFile');
104
- const keyAlias = process.env.ANDROIDTV_KEY_ALIAS ?? getConfigProp(c, c.platform, 'keyAlias');
105
- const storePassword = process.env.ANDROIDTV_STORE_PASSWORD ?? getConfigProp(c, c.platform, 'storePassword');
106
- const keyPassword = process.env.ANDROIDTV_KEY_PASSWORD ?? getConfigProp(c, c.platform, 'keyPassword');
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,6 +100,7 @@ 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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.17.12",
3
+ "version": "0.17.13-alpha.2609",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {