@applicaster/zapp-react-dom-app 16.0.0-rc.124 → 16.0.0-rc.125

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.
@@ -12,16 +12,19 @@ export async function createUrl(type: string): Promise<string> {
12
12
  bundleIdentifier,
13
13
  store,
14
14
  versionName,
15
- rivers_configuration_id: defaultLayoutId,
16
15
  appFamilyId,
17
16
  } = appData;
18
17
 
19
- if (
20
- !(await localStorage.getItem(
21
- STORAGE.DEFAULT_LAYOUT_ID,
22
- STORAGE.APP_LOADER_BRIDGE_NAME_SPACE
23
- ))
24
- ) {
18
+ // appData.json is camelized, so the built-in id is riversConfigurationId.
19
+ const defaultLayoutId =
20
+ appData.riversConfigurationId || appData.rivers_configuration_id;
21
+
22
+ const storedDefault = await localStorage.getItem(
23
+ STORAGE.DEFAULT_LAYOUT_ID,
24
+ STORAGE.APP_LOADER_BRIDGE_NAME_SPACE
25
+ );
26
+
27
+ if ((!storedDefault || storedDefault === "undefined") && defaultLayoutId) {
25
28
  await localStorage.setItem(
26
29
  STORAGE.DEFAULT_LAYOUT_ID,
27
30
  defaultLayoutId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "16.0.0-rc.124",
3
+ "version": "16.0.0-rc.125",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "16.0.0-rc.124",
26
- "@applicaster/zapp-react-native-bridge": "16.0.0-rc.124",
27
- "@applicaster/zapp-react-native-redux": "16.0.0-rc.124",
28
- "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.124",
29
- "@applicaster/zapp-react-native-utils": "16.0.0-rc.124",
25
+ "@applicaster/zapp-react-dom-ui-components": "16.0.0-rc.125",
26
+ "@applicaster/zapp-react-native-bridge": "16.0.0-rc.125",
27
+ "@applicaster/zapp-react-native-redux": "16.0.0-rc.125",
28
+ "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.125",
29
+ "@applicaster/zapp-react-native-utils": "16.0.0-rc.125",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "typeface-montserrat": "^0.0.54",
32
32
  "video.js": "7.14.3",