@applicaster/zapp-react-native-app 14.0.0-alpha.1718713411 → 14.0.0-alpha.2175196485

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,10 +66,13 @@ const InteractionManagerComponent = () => {
66
66
  }, [navigator.currentRoute]);
67
67
 
68
68
  React.useEffect(() => {
69
- BackHandler.addEventListener("hardwareBackPress", onHardwareBackPress);
69
+ const unsubscribe = BackHandler.addEventListener(
70
+ "hardwareBackPress",
71
+ onHardwareBackPress
72
+ );
70
73
 
71
74
  return () => {
72
- BackHandler.removeEventListener("hardwareBackPress", onHardwareBackPress);
75
+ unsubscribe.remove();
73
76
  };
74
77
  }, [onHardwareBackPress]);
75
78
 
@@ -138,6 +138,9 @@ jest.mock(
138
138
  );
139
139
 
140
140
  jest.mock("@applicaster/zapp-react-native-utils/navigationUtils", () => ({
141
+ ...(jest.requireActual(
142
+ "@applicaster/zapp-react-native-utils/navigationUtils"
143
+ ) as jest.Mock<any>),
141
144
  getNavigationProps: () => ({}),
142
145
  resolveNavigationPlugin: () => ({
143
146
  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.1718713411",
3
+ "version": "14.0.0-alpha.2175196485",
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.1718713411",
31
- "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.1718713411",
32
- "@applicaster/zapp-react-native-redux": "14.0.0-alpha.1718713411",
33
- "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.1718713411",
34
- "@applicaster/zapp-react-native-utils": "14.0.0-alpha.1718713411",
30
+ "@applicaster/quick-brick-core": "14.0.0-alpha.2175196485",
31
+ "@applicaster/zapp-react-native-bridge": "14.0.0-alpha.2175196485",
32
+ "@applicaster/zapp-react-native-redux": "14.0.0-alpha.2175196485",
33
+ "@applicaster/zapp-react-native-ui-components": "14.0.0-alpha.2175196485",
34
+ "@applicaster/zapp-react-native-utils": "14.0.0-alpha.2175196485",
35
35
  "axios": "^0.28.0",
36
36
  "camelize": "^1.0.0",
37
37
  "query-string": "7.1.3",
@@ -51,7 +51,6 @@
51
51
  "react-native": "*",
52
52
  "react-native-fs": "*",
53
53
  "react-native-linear-gradient": "*",
54
- "react-native-safe-area-context": "*",
55
54
  "react-native-svg": "*",
56
55
  "react-native-webview": "*",
57
56
  "uglify-js": "*",