@icanbwell/native-components 4.1.0 → 5.0.0
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.
- package/index.js +2 -2
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -2131,9 +2131,9 @@ const ComponentView = ({
|
|
|
2131
2131
|
(_b = secondaryWebviewRef.current) === null || _b === void 0 ? void 0 : _b.goBack();
|
|
2132
2132
|
return true;
|
|
2133
2133
|
};
|
|
2134
|
-
BackHandler.addEventListener('hardwareBackPress', handleBackButtonPress);
|
|
2134
|
+
const backHandlerSubscription = BackHandler.addEventListener('hardwareBackPress', handleBackButtonPress);
|
|
2135
2135
|
return () => {
|
|
2136
|
-
|
|
2136
|
+
backHandlerSubscription.remove();
|
|
2137
2137
|
};
|
|
2138
2138
|
}, []);
|
|
2139
2139
|
useEffect(() => {
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/native-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"tsconfig": "./tsconfig.lib.json"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"react-native": "^0.
|
|
9
|
+
"react-native": "^0.79.2",
|
|
10
10
|
"react": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
12
|
-
"react-native-webview": "
|
|
12
|
+
"react-native-webview": "13.x"
|
|
13
13
|
},
|
|
14
|
-
"repoVersion": "
|
|
15
|
-
"description": "@icanbwell/native-components. repo version:
|
|
14
|
+
"repoVersion": "15.0.0",
|
|
15
|
+
"description": "@icanbwell/native-components. repo version: 15.0.0",
|
|
16
16
|
"module": "./index.js",
|
|
17
17
|
"main": "./index.js",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"types": "./src/index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@icanbwell/native-plugins": "
|
|
21
|
+
"@icanbwell/native-plugins": "6.0.0",
|
|
22
22
|
"@icanbwell/react-native-webview-invoke": "0.6.2",
|
|
23
|
-
"@icanbwell/types": "
|
|
23
|
+
"@icanbwell/types": "6.0.0",
|
|
24
24
|
"lodash.noop": "3.0.1"
|
|
25
25
|
}
|
|
26
26
|
}
|