@applicaster/zapp-react-native-utils 12.0.0-alpha.4054240460 → 12.0.0-alpha.4155487673

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.
Files changed (29) hide show
  1. package/analyticsUtils/AnalyticPlayerListener.ts +141 -0
  2. package/analyticsUtils/PlayerAnalyticsManager.ts +90 -0
  3. package/analyticsUtils/{analyticsTracker.ts → playerAnalyticsTracker.ts} +19 -10
  4. package/appUtils/accessibilityManager/const.ts +50 -0
  5. package/appUtils/accessibilityManager/hooks.ts +40 -0
  6. package/appUtils/accessibilityManager/index.ts +166 -0
  7. package/appUtils/accessibilityManager/logger.ts +5 -0
  8. package/appUtils/focusManager/treeDataStructure/Utils/index.js +1 -1
  9. package/appUtils/index.js +2 -0
  10. package/appUtils/platform/platformUtils.ts +5 -99
  11. package/appUtils/playerManager/conts.ts +1 -0
  12. package/appUtils/playerManager/index.ts +9 -27
  13. package/appUtils/playerManager/player.ts +9 -0
  14. package/appUtils/playerManager/playerNative.ts +1 -1
  15. package/appUtils/playerManager/usePlayerControllerSetup.tsx +1 -0
  16. package/cellUtils/index.ts +38 -5
  17. package/index.d.ts +15 -0
  18. package/navigationUtils/index.ts +48 -0
  19. package/numberUtils/__tests__/toNumber.test.ts +2 -2
  20. package/package.json +2 -2
  21. package/playerUtils/imaScriptDom.ts +59 -0
  22. package/pluginUtils/index.ts +9 -0
  23. package/reactHooks/debugging/__tests__/index.test.js +81 -11
  24. package/reactHooks/navigation/index.ts +4 -0
  25. package/reactHooks/resolvers/useCellResolver.ts +5 -1
  26. package/reactUtils/index.ts +1 -2
  27. package/appUtils/focusManager/FocusableEvents.ts +0 -8
  28. package/appUtils/focusManager/treeDataStructure/Utils/__tests__/Utils_android.test.js +0 -1094
  29. package/appUtils/focusManager/treeDataStructure/Utils/index.android.js +0 -261
@@ -152,8 +152,7 @@ export const hasTizen = typeof window?.tizen !== "undefined";
152
152
  */
153
153
  export const hasWebOS = typeof window?.webOS !== "undefined";
154
154
 
155
- export const getUserAgent = () =>
156
- window?.navigator?.userAgent || global?.navigator?.userAgent;
155
+ export const getUserAgent = () => window?.navigator?.userAgent;
157
156
 
158
157
  export const isLgPlatform = () => {
159
158
  const userAgent = getUserAgent();
@@ -1,8 +0,0 @@
1
- export const FOCUSABLE_EVENTS = {
2
- IS_REGISTERED: "isRegistered",
3
- WILL_RECEIVE_FOCUS: "willReceiveFocus",
4
- HAS_RECEIVED_FOCUS: "hasReceivedFocus",
5
- WILL_LOSE_FOCUS: "willLoseFocus",
6
- HAS_LOST_FOCUS: "hasLostFocus",
7
- WILL_UNREGISTER: "willUnregister",
8
- };