@applicaster/zapp-react-native-ui-components 12.0.10 → 12.0.11-rc.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.
|
@@ -516,6 +516,12 @@ const PlayerContainerComponent = (props: Props) => {
|
|
|
516
516
|
useEffect(() => {
|
|
517
517
|
playerEvent("source_changed", { item });
|
|
518
518
|
|
|
519
|
+
return () => {
|
|
520
|
+
playerEvent("player_did_close", { item });
|
|
521
|
+
};
|
|
522
|
+
}, [item?.id, Player]);
|
|
523
|
+
|
|
524
|
+
useEffect(() => {
|
|
519
525
|
if (!isModal) {
|
|
520
526
|
showNavBar(false);
|
|
521
527
|
}
|
|
@@ -525,13 +531,11 @@ const PlayerContainerComponent = (props: Props) => {
|
|
|
525
531
|
}
|
|
526
532
|
|
|
527
533
|
return () => {
|
|
528
|
-
playerEvent("player_did_close", { item });
|
|
529
|
-
|
|
530
534
|
if (!isModal) {
|
|
531
535
|
showNavBar(true);
|
|
532
536
|
}
|
|
533
537
|
};
|
|
534
|
-
}, [showNavBar,
|
|
538
|
+
}, [showNavBar, isModal, Player]);
|
|
535
539
|
|
|
536
540
|
useEffect(() => {
|
|
537
541
|
if (prevItemId && !R.equals(prevItemId, item?.id)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.11-rc.0",
|
|
4
4
|
"description": "Applicaster Zapp React Native ui components for the Quick Brick App",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"redux-mock-store": "^1.5.3"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@applicaster/applicaster-types": "12.0.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "12.0.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "12.0.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "12.0.
|
|
37
|
+
"@applicaster/applicaster-types": "12.0.11-rc.0",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "12.0.11-rc.0",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "12.0.11-rc.0",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "12.0.11-rc.0",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|