@applicaster/zapp-react-native-ui-components 12.0.0-rc.13 → 12.0.0-rc.15
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.
|
@@ -379,7 +379,9 @@ export class LiveImageManager implements PlayerLifecycleListener {
|
|
|
379
379
|
onLiveImageError = (item: LiveImage, error: Error) => {
|
|
380
380
|
item.setMode(LiveImageType.Image);
|
|
381
381
|
|
|
382
|
-
|
|
382
|
+
const currentItem = this.currentlyPlaying;
|
|
383
|
+
|
|
384
|
+
if (currentItem === item) {
|
|
383
385
|
this.currentlyPlaying = null;
|
|
384
386
|
// TODO: ...Maybe player some other item
|
|
385
387
|
}
|
|
@@ -389,8 +391,8 @@ export class LiveImageManager implements PlayerLifecycleListener {
|
|
|
389
391
|
event: {
|
|
390
392
|
item,
|
|
391
393
|
error,
|
|
392
|
-
playerId:
|
|
393
|
-
primaryPlayerId:
|
|
394
|
+
playerId: currentItem?.playerId,
|
|
395
|
+
primaryPlayerId: currentItem?.playerId,
|
|
394
396
|
},
|
|
395
397
|
});
|
|
396
398
|
};
|
|
@@ -162,7 +162,7 @@ export const PlayerWrapper = (props: Props) => {
|
|
|
162
162
|
width: isInlineModal && docked ? undefined : baseDimensions.width,
|
|
163
163
|
aspectRatio: !isInlineModal && !pip ? getScreenAspectRatio() : 16 / 9,
|
|
164
164
|
}),
|
|
165
|
-
[baseDimensions, isInlineModal]
|
|
165
|
+
[baseDimensions, isInlineModal, pip]
|
|
166
166
|
);
|
|
167
167
|
|
|
168
168
|
const containerDimensions: DimensionsT = React.useMemo(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-ui-components",
|
|
3
|
-
"version": "12.0.0-rc.
|
|
3
|
+
"version": "12.0.0-rc.15",
|
|
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.0-rc.
|
|
38
|
-
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.
|
|
39
|
-
"@applicaster/zapp-react-native-redux": "12.0.0-rc.
|
|
40
|
-
"@applicaster/zapp-react-native-utils": "12.0.0-rc.
|
|
37
|
+
"@applicaster/applicaster-types": "12.0.0-rc.15",
|
|
38
|
+
"@applicaster/zapp-react-native-bridge": "12.0.0-rc.15",
|
|
39
|
+
"@applicaster/zapp-react-native-redux": "12.0.0-rc.15",
|
|
40
|
+
"@applicaster/zapp-react-native-utils": "12.0.0-rc.15",
|
|
41
41
|
"promise": "^8.3.0",
|
|
42
42
|
"react-router-native": "^5.1.2",
|
|
43
43
|
"url": "^0.11.0",
|