@applicaster/zapp-react-dom-app 14.0.0-alpha.5114565431 → 14.0.0-alpha.5243406255
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as R from "ramda";
|
|
3
3
|
|
|
4
|
-
import { connectToStore } from "@applicaster/zapp-react-native-redux";
|
|
4
|
+
import { connectToStore } from "@applicaster/zapp-react-native-redux/utils/connectToStore";
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
QUICK_BRICK_EVENTS,
|
|
@@ -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();
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import * as R from "ramda";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
|
|
6
|
-
import { connectToStore } from "@applicaster/zapp-react-native-redux";
|
|
6
|
+
import { connectToStore } from "@applicaster/zapp-react-native-redux/utils/connectToStore";
|
|
7
7
|
import { QUICK_BRICK_EVENTS } from "@applicaster/zapp-react-native-bridge/QuickBrick";
|
|
8
8
|
|
|
9
9
|
import { QuickBrickEvents } from "../../Polyfills/QuickBrickCommunicationModule";
|
package/App/Splash/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-dom-app",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.5243406255",
|
|
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.
|
|
26
|
-
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.
|
|
27
|
-
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.
|
|
28
|
-
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.
|
|
29
|
-
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.
|
|
25
|
+
"@applicaster/zapp-react-dom-ui-components": "14.0.0-alpha.5243406255",
|
|
26
|
+
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5243406255",
|
|
27
|
+
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.5243406255",
|
|
28
|
+
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5243406255",
|
|
29
|
+
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.5243406255",
|
|
30
30
|
"abortcontroller-polyfill": "^1.7.5",
|
|
31
31
|
"typeface-montserrat": "^0.0.54",
|
|
32
32
|
"video.js": "7.14.3",
|