@applicaster/zapp-react-native-app 14.0.0-rc.56 → 14.0.0-rc.57

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.
@@ -3,10 +3,7 @@ import * as R from "ramda";
3
3
 
4
4
  import { View, StyleSheet } from "react-native";
5
5
 
6
- import {
7
- getNavigationProps,
8
- resolveNavigationPlugin,
9
- } from "@applicaster/zapp-react-native-utils/navigationUtils";
6
+ import { getNavigationProps } from "@applicaster/zapp-react-native-utils/navigationUtils";
10
7
  import {
11
8
  useDimensions,
12
9
  useGetBottomTabBarHeight,
@@ -71,12 +68,6 @@ const LayoutWithMenu = () => {
71
68
 
72
69
  const { activeRiver, videoModalState, isVideoModalDocked } = navigator;
73
70
 
74
- const plugin = resolveNavigationPlugin({
75
- category: "menu",
76
- navigations: activeRiver?.navigations,
77
- plugins,
78
- });
79
-
80
71
  const Menu = React.useMemo(
81
72
  () =>
82
73
  getNavigationPluginModule(
@@ -103,7 +94,7 @@ const LayoutWithMenu = () => {
103
94
  return false;
104
95
  }
105
96
 
106
- return isMenuVisible(navigator.currentRoute, navigator.screenData);
97
+ return isMenuVisible(navigator.currentRoute, navigator.screenData, plugins);
107
98
  }, [
108
99
  videoModalState.visible,
109
100
  videoModalState.mode,
@@ -111,12 +102,7 @@ const LayoutWithMenu = () => {
111
102
  isActiveGesture,
112
103
  ]);
113
104
 
114
- const isBottomTabsPlugin = plugin?.identifier === "quick-brick-bottom-tabs";
115
-
116
- const paddingBottom =
117
- showMenu && isBottomTabsPlugin
118
- ? bottomTabBarHeight + safeAreaBottomInset
119
- : 0; // if activeRiver?.navigations has quick-brick-bottom-tabs - append bottomTabBarHeight as padding
105
+ const paddingBottom = showMenu ? bottomTabBarHeight + safeAreaBottomInset : 0; // if activeRiver?.navigations has quick-brick-bottom-tabs - append bottomTabBarHeight as padding
120
106
 
121
107
  const contentStyle = React.useMemo(
122
108
  () =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-app",
3
- "version": "14.0.0-rc.56",
3
+ "version": "14.0.0-rc.57",
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-rc.56",
31
- "@applicaster/zapp-react-native-bridge": "14.0.0-rc.56",
32
- "@applicaster/zapp-react-native-redux": "14.0.0-rc.56",
33
- "@applicaster/zapp-react-native-ui-components": "14.0.0-rc.56",
34
- "@applicaster/zapp-react-native-utils": "14.0.0-rc.56",
30
+ "@applicaster/quick-brick-core": "14.0.0-rc.57",
31
+ "@applicaster/zapp-react-native-bridge": "14.0.0-rc.57",
32
+ "@applicaster/zapp-react-native-redux": "14.0.0-rc.57",
33
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-rc.57",
34
+ "@applicaster/zapp-react-native-utils": "14.0.0-rc.57",
35
35
  "axios": "^0.28.0",
36
36
  "camelize": "^1.0.0",
37
37
  "query-string": "7.1.3",