@applicaster/zapp-react-dom-app 14.0.10-rc.0 → 14.0.10

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.
@@ -259,6 +259,11 @@ export const getDeviceData = async () => {
259
259
  try {
260
260
  let deviceData = {};
261
261
 
262
+ const deviceDimensions = {
263
+ deviceWidth: window?.screen?.width,
264
+ deviceHeight: window?.screen?.height,
265
+ };
266
+
262
267
  if (isLgPlatform()) {
263
268
  const [webOSInfo, webOSConnectionInfo] = await Promise.all([
264
269
  getWebOSInfo(),
@@ -270,6 +275,7 @@ export const getDeviceData = async () => {
270
275
  ...webOSInfo,
271
276
  ...webOSConnectionInfo,
272
277
  device_type: getDeviceType(),
278
+ ...deviceDimensions,
273
279
  };
274
280
  } else if (isSamsungPlatform()) {
275
281
  const [tizenInfo, tizenConnectionInfo] = await Promise.all([
@@ -282,6 +288,7 @@ export const getDeviceData = async () => {
282
288
  ...tizenInfo,
283
289
  ...tizenConnectionInfo,
284
290
  device_type: getDeviceType(),
291
+ ...deviceDimensions,
285
292
  };
286
293
  } else if (isVizioPlatform()) {
287
294
  deviceData = {
@@ -289,8 +296,7 @@ export const getDeviceData = async () => {
289
296
  platform: "vizio",
290
297
  deviceMake: "Vizio",
291
298
  deviceType: "tv",
292
- deviceWidth: window.innerWidth,
293
- deviceHeight: window.innerHeight,
299
+ ...deviceDimensions,
294
300
  };
295
301
 
296
302
  if (hasVizioAPIs()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "14.0.10-rc.0",
3
+ "version": "14.0.10",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "14.0.10-rc.0",
26
- "@applicaster/zapp-react-native-bridge": "14.0.10-rc.0",
27
- "@applicaster/zapp-react-native-redux": "14.0.10-rc.0",
28
- "@applicaster/zapp-react-native-ui-components": "14.0.10-rc.0",
29
- "@applicaster/zapp-react-native-utils": "14.0.10-rc.0",
25
+ "@applicaster/zapp-react-dom-ui-components": "14.0.10",
26
+ "@applicaster/zapp-react-native-bridge": "14.0.10",
27
+ "@applicaster/zapp-react-native-redux": "14.0.10",
28
+ "@applicaster/zapp-react-native-ui-components": "14.0.10",
29
+ "@applicaster/zapp-react-native-utils": "14.0.10",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "typeface-montserrat": "^0.0.54",
32
32
  "video.js": "7.14.3",