@applicaster/zapp-react-dom-app 13.0.10-alpha.9045951059 → 13.0.10-rc.1

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.
@@ -329,16 +329,6 @@ class InteractionManagerClass extends React.Component<Props, State> {
329
329
  return homePath === navigator.currentRoute;
330
330
  }
331
331
 
332
- isStartupHook() {
333
- const { navigator } = this.props;
334
-
335
- const isStartUpHook =
336
- Array.isArray(navigator.startUpHooks) &&
337
- navigator.startUpHooks.length > 0;
338
-
339
- return isStartUpHook;
340
- }
341
-
342
332
  goToHome() {
343
333
  const { navigator } = this.props;
344
334
  const { rivers } = this.props;
@@ -429,7 +419,7 @@ class InteractionManagerClass extends React.Component<Props, State> {
429
419
  this.onConfirmDialogClose();
430
420
  } else if (navigator.canGoBack()) {
431
421
  navigator.goBack();
432
- } else if (this.isHomeScreen() || this.isStartupHook()) {
422
+ } else if (this.isHomeScreen()) {
433
423
  this.platformBack();
434
424
  } else if (navigator.currentRoute.includes("hook")) {
435
425
  // If code reaches this block navigator cant go back, it is not home,
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- import { createPortal } from "react-dom";
3
2
 
4
3
  import { Background } from "@applicaster/zapp-react-dom-ui-components/Components/Background";
5
4
  import { ConfirmDialog } from "@applicaster/zapp-react-dom-ui-components/Components/ConfirmDialog";
@@ -30,7 +29,7 @@ export function Layout({ children }: Props) {
30
29
  >
31
30
  {children}
32
31
  </LayoutComponent>
33
- {createPortal(<ConfirmDialog />, document.body)}
32
+ <ConfirmDialog />
34
33
  </>
35
34
  );
36
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "13.0.10-alpha.9045951059",
3
+ "version": "13.0.10-rc.1",
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": "13.0.10-alpha.9045951059",
26
- "@applicaster/zapp-react-native-bridge": "13.0.10-alpha.9045951059",
27
- "@applicaster/zapp-react-native-redux": "13.0.10-alpha.9045951059",
28
- "@applicaster/zapp-react-native-ui-components": "13.0.10-alpha.9045951059",
29
- "@applicaster/zapp-react-native-utils": "13.0.10-alpha.9045951059",
25
+ "@applicaster/zapp-react-dom-ui-components": "13.0.10-rc.1",
26
+ "@applicaster/zapp-react-native-bridge": "13.0.10-rc.1",
27
+ "@applicaster/zapp-react-native-redux": "13.0.10-rc.1",
28
+ "@applicaster/zapp-react-native-ui-components": "13.0.10-rc.1",
29
+ "@applicaster/zapp-react-native-utils": "13.0.10-rc.1",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "react-router-dom": "^5.1.2",
32
32
  "typeface-montserrat": "^0.0.54",