flexn-io / create

Build apps for web, TVs, desktops, consoles, wearables and more. Developer friendly UI library targeting all form factors platforms. Another notable feature is providing focus management for TVs which very easy to implement using Create.
https://create.flexn.org
MIT License
26 stars 6 forks source link

developing app for Tizen / Webo #185

Open saimirg opened 8 months ago

saimirg commented 8 months ago

Hi, we've developed our app mainly for android devices and would like to now start building it for Samsung/LG. Just wanted to ask if we need to redo everything from scratch to convert all screens to pages or is there any way to do it automatically ?

aurimasmi commented 8 months ago

Depends what engine you would like to use, Create does support rn-web engine where essentially you don't need to convert anything. You can try our template https://github.com/flexn-io/create/tree/main/packages/template-starter by running npx rnv run -p tizen --hosted or npx rnv run -p webos --hosted it will run it in web interface but you will see that same code is running under these platforms also.

Also there is an option to run Lightning.JS engine, but for that you will need to develop your app in Lightning.JS syntax, since there is no transpilation from RN

saimirg commented 8 months ago

@aurimasmi could you please advice a version of Node, RNV, Template, that can successfully build/export tizen app ?

pauliusguzas commented 8 months ago

@saimirg

│  ReNative Version: 0.37.4                                                    │
│  Project Name ($package.name): tizen                                         │
│  Project Version ($package.version): 0.1.0                                   │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-rn-web                            │
│  Template: @flexn/create-template-starter@1.2.1                              │
│  App Config (-c): app                                                        │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): T-samsung-7.0-x86                                              │
│  Supported Platforms: tizen                                                  │
│  Env Info: darwin | x64 | node v16.14.2                                      │
│  Executed Time: 0h:0m:19s:683ms
saimirg commented 7 months ago

I'm running the build command for tizen and webos, and it is only generating static files for webos. It is also generating WGT file for Tizen, but it does not have any static JS files inside.

Here is the build results for TIZEN

image

output

image

And these are the results for same command for Webos

image

output

image
fisarmio commented 7 months ago

I have the same problem.

if I run

npx rnv build -p tizen

it will produce a debug wgt, with an index.html with href to my local webserver. I expected to find static js inside wgt in order to publish my wgt to samsung store.

Same thing with webos

same thing with

npx rnv build -p tizen -s production

ReNative Version: 0.37.4
node v16.14.2

pauliusguzas commented 7 months ago

@saimirg this is a valid issue, and is already partially fixed, but no release yet made, will inform you once release has been made

pauliusguzas commented 3 months ago

@saimirg @fisarmio renative has this issue solved already on 1.0.0-rc.12, however create hasn't been yet updated with latest renative