@applicaster/zapp-react-native-utils 12.0.0-alpha.5061452310 → 12.0.0-alpha.5085420612

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.
@@ -1,7 +1,6 @@
1
1
  /* global tizen */
2
2
  const isTizen = typeof tizen !== "undefined";
3
3
 
4
- import { isVizioPlatform } from "@applicaster/zapp-react-dom-app/App/Loader/utils/platform";
5
4
  import * as platformKeys from "./keysByPlatform";
6
5
  import { Platform } from "react-native";
7
6
 
@@ -22,13 +21,6 @@ export const ARROW_KEYS = [
22
21
  KEYS.ArrowRight,
23
22
  ];
24
23
 
25
- /**
26
- * Platform.OS currently identifies Vizio as LG_TV, therefore we are using isVizioPlatform to identify platform and add keys.
27
- */
28
- if (isVizioPlatform()) {
29
- Object.assign(KEYS, platformKeys.vizio);
30
- }
31
-
32
24
  /**
33
25
  * In TizenOS we need to register all of the keys that we are going to use.
34
26
  * You need to register using the name Tizen has for the key.
@@ -102,14 +102,4 @@ const tvos = {
102
102
  Menu: { code: "Menu", eventType: "menu" },
103
103
  };
104
104
 
105
- const vizio = {
106
- ...samsung_tv,
107
- Exit: { code: "Exit", keyCode: 27 },
108
- PageUp: { code: "PageUp", keyCode: 33 },
109
- PageDown: { code: "PageDown", keyCode: 34 },
110
- MediaTrackNext: { code: "MediaTrackNext", keyCode: 418 },
111
- MediaTrackPrevious: { code: "MediaTrackPrevious", keyCode: 419 },
112
- PrevCh: { code: "PrevCh", keyCode: 500 },
113
- };
114
-
115
- export { lg_tv, samsung_tv, web, tvos, android_tv, vizio };
105
+ export { lg_tv, samsung_tv, web, tvos, android_tv };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "12.0.0-alpha.5061452310",
3
+ "version": "12.0.0-alpha.5085420612",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "12.0.0-alpha.5061452310",
31
+ "@applicaster/applicaster-types": "12.0.0-alpha.5085420612",
32
32
  "buffer": "^5.2.1",
33
33
  "camelize": "^1.0.0",
34
34
  "create-react-context": "^0.2.3",