flexn-io / renative

🚀🚀🚀 Unified Development Platform for iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms
https://renative.org
MIT License
1.82k stars 181 forks source link

[tizen] blank screen on app (certain devices only) #1557

Open GabrieleKaceviciute opened 6 months ago

GabrieleKaceviciute commented 6 months ago

Describe the bug App is installed on device but blank screen is displayed on device

To Reproduce

  1. Go to template-starter
  2. Do npx rnv run -p tizen -t <ip> on device

NOTE: Device specs: os version 525 (TV7 label in office)

Expected behavior App runs and ui is displayed

Screenshots or copy&paste

pauliusguzas@MBP-de-Flexn app-harness % npx rnv run -p tizen -t 192.168.1.28

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.0.0 | renative.org | 8/12/2024, 5:40:17 PM               │
│ $ rnv run -p tizen -t 192.168.1.28                              │
└─────────────────────────────────────────────────────────────────┘
info: Current platform: tizen
info: Current engine: @rnv/engine-rn-web (../engine-rn-web)
task: ○ run ↺1
info: Current platform: tizen
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
info: Current app config: harness
task: ✔ app configure
info: ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json
info: ../../node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-photo-editor overriden by: /@rnv/config-templates/pluginTemplates/react-native-photo-editor/overrides
task: ✔ project configure
info: Current Build Scheme: debug
info: Current platform: tizen
task: ○ sdk configure ↺1
task: ✔ sdk configure
task: ✔ platform configure
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" security-profiles list -n RNVanillaCert
info: Found custom assetSources at ../../node_modules/@flexn/assets-renative-outline/assets/tizen. Will be used to generate assets.
task: ✔ configure
info: Your tizen devServer at port 8097 is not running. Starting it up for you...
info: Your tizen devServerHost 127.0.0.1 at port 8097 is not running. Starting it up for you...
┌─────────────────────────────────────────────────────────────────┐
│ ✔ BUNDLER STARTED | 8/12/2024, 5:40:20 PM | rnv@1.0.0           │
│ $ rnv run -p tizen -t 192.168.1.28                              │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/app-harness@1.0.0                                 │
│ Workspace: rnv                                                  │
│ Platform (-p): tizen                                            │
│ Engine: @rnv/engine-rn-web                                      │
│ Template: @rnv/template-starter                                 │
│ App Config (-c): harness                                        │
│ Build Scheme (-s): debug                                        │
│ Target (-t): 192.168.1.28                                       │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: darwin | x64 | node v18.18.0                          │
│ Executed Time: 0h:0m:3s:331ms                                   │
│ Project location: ./platformBuilds/harness_tizen                │
└─────────────────────────────────────────────────────────────────┘
warn: ○ run: You are missing chii. You can install via npm i -g chii) Trying to use weinre next
warn: ○ run: You are missing weinre. Skipping debug. install via npm i -g weinre
(node:52002) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:52002) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...

Compiled successfully!

You can now view @rnv/app-harness in the browser.

  Local:            http://localhost:8097
  On Your Network:  http://192.168.1.33:8097

Note that the development build is not optimized.
To create a production build, use npm run build.

assets by path static/ 3.55 MiB
  asset static/js/bundle.js 3.24 MiB [emitted] (name: main) 1 related asset
  asset static/media/Inter-Light.58a136ec3193fa8a63e5.ttf 303 KiB [emitted] [immutable] [from: appConfigs/base/fonts/Inter-Light.ttf] (auxiliary name: main)
  asset static/media/logo.63d54a55b067ffc3e842.png 12.1 KiB [emitted] [immutable] [from: platformAssets/runtime/logo.png] (auxiliary name: main)
asset index.html 1.77 KiB [emitted]
asset asset-manifest.json 356 bytes [emitted]
runtime modules 28.8 KiB 14 modules
modules by path ../ 882 KiB 451 modules
modules by path ./ 1.85 MiB (javascript) 315 KiB (asset)
  modules by path ./node_modules/react-native-web/dist/ 711 KiB 196 modules
  modules by path ./src/ 45.1 KiB 14 modules
  modules by path ./platformAssets/ 3.31 KiB (javascript) 12.1 KiB (asset)
    javascript modules 3.22 KiB 2 modules
    + 2 modules
  modules by path ./node_modules/react-dom/ 1.07 MiB
    ./node_modules/react-dom/client.js 620 bytes [built] [code generated]
    + 2 modules
  modules by path ./node_modules/scheduler/ 19 KiB
    ./node_modules/scheduler/index.js 197 bytes [built] [code generated]
    ./node_modules/scheduler/cjs/scheduler.development.js 18.8 KiB [built] [code generated]
  + 5 modules
webpack 5.91.0 compiled successfully in 4186 ms
No issues found.
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/sdb" devices
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/sdb" -s emulator-26101 shell cat /etc/config/model-config.xml
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/sdb" -s emulator-26111 shell cat /etc/config/model-config.xml
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/sdb" devices
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" build-web -- "/Users/pauliusguzas/Desktop/renative/renative/packages/app-harness/platformBuilds/harness_tizen" -out "/Users/pauliusguzas/Desktop/renative/renative/packages/app-harness/platformBuilds/harness_tizen/intermediate"
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" package -- "/Users/pauliusguzas/Desktop/renative/renative/packages/app-harness/platformBuilds/harness_tizen/intermediate" -s RNVanillaCert -t wgt -o "/Users/pauliusguzas/Desktop/renative/renative/packages/app-harness/platformBuilds/harness_tizen/output"
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" uninstall -p NkVRhWHJST.RNVanillaTV -t UE48K5500
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" install -- "/Users/pauliusguzas/Desktop/renative/renative/packages/app-harness/platformBuilds/harness_tizen/output" -n RNVanillaTV.wgt -t UE48K5500
✔ Executing: "/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen" run -p NkVRhWHJST.RNVanillaTV -t UE48K5500

Desktop (please complete the following information):

Marius456 commented 1 month ago

Couldn't connect to tv with tizen studio. Tried to open dev mode in tv, but app window didn't react to open dev mode command (pressing "12345" on the remote control). Strangely apps window don't show any app. IMG_20241015_171914 Tried to factory reset tv, but it didn't fix this issue. Internet is connected (Tested by running YouTube).

This TV from 2017 and has tizen tv-3.0 OS.