@applicaster/zapp-react-dom-app 14.0.0-alpha.1101330035 → 14.0.0-alpha.1118824347

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.
@@ -409,6 +409,42 @@ class InteractionManagerClass extends React.Component<Props, State> {
409
409
 
410
410
  switch (displayState) {
411
411
  case DISPLAY_STATES.DEFAULT:
412
+ if (
413
+ focusManager.isOnRootScreen() &&
414
+ focusManager.isFocusOnMenu() &&
415
+ this.isHomeScreen()
416
+ ) {
417
+ console.log("debug_2", "IM - platformBack");
418
+
419
+ this.platformBack();
420
+
421
+ return;
422
+ }
423
+
424
+ if (
425
+ focusManager.isOnRootScreen() &&
426
+ focusManager.isFocusOnMenu() &&
427
+ !this.isHomeScreen()
428
+ ) {
429
+ console.log("debug_2", "IM - goToHome");
430
+
431
+ this.goToHome();
432
+
433
+ return;
434
+ }
435
+
436
+ if (focusManager.isOnRootScreen() && focusManager.isFocusOnContent()) {
437
+ focusManager.focusTopNavigation();
438
+
439
+ return;
440
+ }
441
+
442
+ if (navigator.canGoBack()) {
443
+ console.log("debug_2", "IM - goBack");
444
+ navigator.goBack();
445
+ }
446
+
447
+ return;
412
448
  case DISPLAY_STATES.PLAYER:
413
449
  if (isDialogVisible) {
414
450
  this.onConfirmDialogClose();
@@ -37,6 +37,7 @@ export const desiredKeysMap = {
37
37
  osVersion: "osVersion",
38
38
  platform: "platform",
39
39
  quickBrickVersion: "quickBrickVersion",
40
+ sessionId: "sessionId",
40
41
  sdkVersion: "sdk_version",
41
42
  store: "store",
42
43
  timeZoneOffset: "timeZoneOffset",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "14.0.0-alpha.1101330035",
3
+ "version": "14.0.0-alpha.1118824347",
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": "14.0.0-alpha.1101330035",
26
- "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.1101330035",
27
- "@applicaster/zapp-react-native-redux": "14.0.0-alpha.1101330035",
28
- "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.1101330035",
29
- "@applicaster/zapp-react-native-utils": "14.0.0-alpha.1101330035",
25
+ "@applicaster/zapp-react-dom-ui-components": "14.0.0-alpha.1118824347",
26
+ "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.1118824347",
27
+ "@applicaster/zapp-react-native-redux": "14.0.0-alpha.1118824347",
28
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.1118824347",
29
+ "@applicaster/zapp-react-native-utils": "14.0.0-alpha.1118824347",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "typeface-montserrat": "^0.0.54",
32
32
  "video.js": "7.14.3",