flexn-io/renative

[tizen] black blank screen on app running from Windows

pauliusguzas opened this issue · 0 comments

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

To Reproduce

  1. go to template-starter
  2. run npx rnv run -p tizen -t <ip> -> app runs but black blank screen is displayed

Expected behavior
App runs and ui is displayed

C:\Users\dev\Desktop\renative\packages\template-starter>npx rnv run -p tizen -t 192.168.1.29

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ $ rnv run -p tizen -t 192.168.1.29                              │
└─────────────────────────────────────────────────────────────────┘
info: Current platform: tizen
info: Current engine: @rnv/engine-rn-web (C:\Users\dev\Desktop\renative\packages\template-starter\node_modules\@rnv\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: template
task: ✔ app configure
info: C:\Users\dev\Desktop\renative\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: C:\Users\dev\Desktop\renative\node_modules\@react-native-community\cli\build\bin.js overriden by: \@rnv\config-templates\pluginTemplates\@react-native-community\cli\overrides.json
info: C:\Users\dev\Desktop\renative\node_modules\react-native-tvos\Libraries\Components\ScrollView\ScrollViewNativeComponent.js overriden by: \@rnv\config-templates\pluginTemplates\react-native-tvos\overrides.json
info: C:\Users\dev\Desktop\renative\node_modules\react-native-tvos\Libraries\Components\ScrollView\ScrollViewNativeComponent.js overriden by: \@rnv\config-templates\pluginTemplates\react-native-tvos\overrides.json
info: C:\Users\dev\Desktop\renative\node_modules\react-native-tvos\Libraries\Components\ScrollView\ScrollViewNativeComponent.js overriden by: \@rnv\config-templates\pluginTemplates\react-native-tvos\overrides.json
task: ✔ project configure
info: Current Build Scheme: debug
info: Current platform: tizen
task: ○ sdk configure ↺1
task: ✔ sdk configure
task: ✔ platform configure
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" security-profiles list -n RNVanillaCert
info: Found custom assetSources at C:\Users\dev\Desktop\renative\node_modules\@flexn\assets-renative-outline\assets\tizen. Will be used to generate assets.
task: ✔ configure
info: Your tizen devServer at port 8087 is not running. Starting it up for you...
info: Your tizen devServerHost 127.0.0.1 at port 8087 is not running. Starting it up for you...
┌─────────────────────────────────────────────────────────────────┐
│ ✔ BUNDLER STARTED | 12/08/2024, 18:04:28 | rnv@                 │
│ $ rnv run -p tizen -t 192.168.1.29                              │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/template-starter@1.0.0                            │
│ Workspace: rnv                                                  │
│ Platform (-p): tizen                                            │
│ Engine: @rnv/engine-rn-web                                      │
│ App Config (-c): template                                       │
│ Build Scheme (-s): debug                                        │
│ Target (-t): 192.168.1.29                                       │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: win32 | x64 | node v18.20.3                           │
│ Executed Time: 0h:0m:6s:301ms                                   │
│ You are trying to run global rnv command in your current project.
│ This might lead to unexpected behaviour.
│ Run your rnv command with npx prefix:
│ npx rnv run -p tizen -t 192.168.1.29
│ Project location: C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_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:10072) [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:10072) [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/template-starter in the browser.

  http://localhost:8087

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

assets by path static/ 3.48 MiB
  asset static/js/bundle.js 3.17 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]
cached modules 2.65 MiB (javascript) 315 KiB (asset) 28.8 KiB (runtime) [cached] 673 modules
webpack 5.91.0 compiled successfully in 4553 ms
No issues found.
√ Executing: "C:\tizen-studio\tools\sdb.exe" devices
√ Executing: "C:\tizen-studio\tools\sdb.exe" devices
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" build-web -- "C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizen" -out "C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizen\intermediate"
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" package -- "C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizen\intermediate" -s RNVanillaCert -t wgt -o "C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizen\output"
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" uninstall -p NkVRhWHJST.RNVanillaTV -t UE32T4302AKXXH
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" install -- "C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizen\output" -n RNVanillaTV.wgt -t UE32T4302AKXXH
√ Executing: "C:\tizen-studio\tools\ide\bin\tizen.bat" run -p NkVRhWHJST.RNVanillaTV -t UE32T4302AKXXH

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Node Version 18.20.3
  • RNV Version 1.0.0
  • @rnv/template-starter 1.0.0