@applicaster/zapp-react-native-app 14.0.0-alpha.4274952546 → 14.0.0-alpha.4517121861
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.
|
@@ -66,13 +66,10 @@ const InteractionManagerComponent = () => {
|
|
|
66
66
|
}, [navigator.currentRoute]);
|
|
67
67
|
|
|
68
68
|
React.useEffect(() => {
|
|
69
|
-
|
|
70
|
-
"hardwareBackPress",
|
|
71
|
-
onHardwareBackPress
|
|
72
|
-
);
|
|
69
|
+
BackHandler.addEventListener("hardwareBackPress", onHardwareBackPress);
|
|
73
70
|
|
|
74
71
|
return () => {
|
|
75
|
-
|
|
72
|
+
BackHandler.removeEventListener("hardwareBackPress", onHardwareBackPress);
|
|
76
73
|
};
|
|
77
74
|
}, [onHardwareBackPress]);
|
|
78
75
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { renderWithProviders } from "@applicaster/zapp-react-native-utils/testUtils";
|
|
2
3
|
|
|
3
4
|
const mockUseMenuToggleContext = jest.fn(() => ({
|
|
@@ -137,9 +138,6 @@ jest.mock(
|
|
|
137
138
|
);
|
|
138
139
|
|
|
139
140
|
jest.mock("@applicaster/zapp-react-native-utils/navigationUtils", () => ({
|
|
140
|
-
...(jest.requireActual(
|
|
141
|
-
"@applicaster/zapp-react-native-utils/navigationUtils"
|
|
142
|
-
) as jest.Mock<any>),
|
|
143
141
|
getNavigationProps: () => ({}),
|
|
144
142
|
resolveNavigationPlugin: () => ({
|
|
145
143
|
identifier: "quick-brick-bottom-tabs",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-app",
|
|
3
|
-
"version": "14.0.0-alpha.
|
|
3
|
+
"version": "14.0.0-alpha.4517121861",
|
|
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.
|
|
31
|
-
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.
|
|
32
|
-
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.
|
|
33
|
-
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.
|
|
34
|
-
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.
|
|
30
|
+
"@applicaster/quick-brick-core": "14.0.0-alpha.4517121861",
|
|
31
|
+
"@applicaster/zapp-react-native-bridge": "14.0.0-alpha.4517121861",
|
|
32
|
+
"@applicaster/zapp-react-native-redux": "14.0.0-alpha.4517121861",
|
|
33
|
+
"@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.4517121861",
|
|
34
|
+
"@applicaster/zapp-react-native-utils": "14.0.0-alpha.4517121861",
|
|
35
35
|
"axios": "^0.28.0",
|
|
36
36
|
"camelize": "^1.0.0",
|
|
37
37
|
"query-string": "7.1.3",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"react-native-fs": "*",
|
|
53
53
|
"react-native-gesture-handler": "*",
|
|
54
54
|
"react-native-linear-gradient": "*",
|
|
55
|
+
"react-native-safe-area-context": "*",
|
|
55
56
|
"react-native-svg": "*",
|
|
56
57
|
"react-native-web": "*",
|
|
57
58
|
"react-native-webview": "*",
|