How React Native code is organized in OpenTV ION
-
Config - all configurations supported by product/customer specific/product variant are available within folder
-
Fonts - all fonts used in OpenTV ION
-
Icons - all icons (including SVG)
-
Src - all source code written in React Native. It has 3 main parts:
-
Service layer - all common layer-related generic API calls
-
Store - all store-related actions, sagas, selections and state
-
UI - screen-specific implementation:
-
Components - common usable components across all screens
-
Each OpenTV ION screen (for example Discover, Saved, etc) has a separate folder for implementation specific to that screen
-
-
-
Android folder - contains native Java code implementation where native code is needed to meet UI and business requirements
-
iOS folder contains native iOS specific (Swift and Obj-C) implementation