@applicaster/zapp-react-native-app 14.0.0-alpha.5071825192 → 14.0.0-alpha.5333112458

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.
Files changed (2) hide show
  1. package/App/Layout/index.tsx +14 -14
  2. package/package.json +7 -14
@@ -98,20 +98,18 @@ const LayoutWithMenu = () => {
98
98
  * otherwise hidden if videoModalState - visible
99
99
  * also check isMenuVisible
100
100
  */
101
- const showMenu = React.useMemo(
102
- () =>
103
- ((videoModalState.visible &&
104
- (videoModalState.mode === "MINIMIZED" ||
105
- (videoModalState.mode === "MAXIMIZED" && isActiveGesture))) ||
106
- !videoModalState.visible) &&
107
- isMenuVisible(navigator.currentRoute, navigator.screenData),
108
- [
109
- videoModalState.visible,
110
- videoModalState.mode,
111
- navigator.currentRoute,
112
- isActiveGesture,
113
- ]
114
- );
101
+ const showMenu = React.useMemo(() => {
102
+ if (!videoModalState.visible && videoModalState.mode === "FULLSCREEN") {
103
+ return false;
104
+ }
105
+
106
+ return isMenuVisible(navigator.currentRoute, navigator.screenData);
107
+ }, [
108
+ videoModalState.visible,
109
+ videoModalState.mode,
110
+ navigator.currentRoute,
111
+ isActiveGesture,
112
+ ]);
115
113
 
116
114
  const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
117
115
 
@@ -170,6 +168,8 @@ const LayoutWithMenu = () => {
170
168
  PushTopicManager.getInstance().prepareTags();
171
169
  }, []);
172
170
 
171
+ console.log("Layout", { navigatorData: navigator.data });
172
+
173
173
  return (
174
174
  <>
175
175
  {appReady ? (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "14.0.0-alpha.5071825192",
3
+ "version": "14.0.0-alpha.5333112458",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "homepage": "https://github.com/applicaster/quickbrick#readme",
29
29
  "dependencies": {
30
- "@applicaster/quick-brick-core": "14.0.0-alpha.5071825192",
31
- "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5071825192",
32
- "@applicaster/zapp-react-native-redux": "14.0.0-alpha.5071825192",
33
- "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5071825192",
34
- "@applicaster/zapp-react-native-utils": "14.0.0-alpha.5071825192",
30
+ "@applicaster/quick-brick-core": "14.0.0-alpha.5333112458",
31
+ "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.5333112458",
32
+ "@applicaster/zapp-react-native-redux": "14.0.0-alpha.5333112458",
33
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.5333112458",
34
+ "@applicaster/zapp-react-native-utils": "14.0.0-alpha.5333112458",
35
35
  "axios": "^0.28.0",
36
36
  "camelize": "^1.0.0",
37
37
  "query-string": "7.1.3",
@@ -50,19 +50,12 @@
50
50
  "react": "*",
51
51
  "react-native": "*",
52
52
  "react-native-fs": "*",
53
- "react-native-gesture-handler": "*",
54
53
  "react-native-linear-gradient": "*",
55
54
  "react-native-safe-area-context": "*",
56
55
  "react-native-svg": "*",
57
- "react-native-web": "*",
58
56
  "react-native-webview": "*",
59
57
  "uglify-js": "*",
60
58
  "validate-color": "*",
61
59
  "zustand": "*"
62
- },
63
- "devDependencies": {
64
- "nock": "^10.0.0",
65
- "redux-mock-store": "^1.5.3"
66
- },
67
- "gitHead": "a473487564142c55cdb50f02505cf0b60fe75658"
60
+ }
68
61
  }