Samsung / tizen-tv-webapis

Apache License 2.0
28 stars 11 forks source link

TS: Run TypeScript Sample on Samsung QB55R #17

Closed ionescu77 closed 2 years ago

ionescu77 commented 3 years ago

Hi,

I have been able to run the TypeScript sample in emulator.

emulator-tizen-studio

However on the actual device Samsung QB55R (Tizen 4.0) I get this path not found error:

samsung-qb-55r

PS I had to modify config.xml to update Tizen API required from 5.5 to 4.0

ionescu77 commented 3 years ago

I am using WITS

Start running Wits............
[1]
[1] [@tizentv/tools]tools.getToolPath: toolName = sdb
[1]
[1]       > [ Stored Information ]
[1]
[1]       > baseAppPath  : /Users/razuser/myProjects/tizen-tv-webapis/samples/typescript
[1]       > width        : 1920
[1]       > deviceIp     : 192.168.0.228
[1]       > isDebugMode  : false
[1]
[1]       > profile path : /Users/razuser/tizen-studio-data/profile/profiles.xml
[1]       > hostIp       : 192.168.0.226
[1]
[1] connect to....192.168.0.228
[1] Success to connect 192.168.0.228
[1] content src is : index.html
[1]
[1] Start packaging Samsung Tizen TV Platform......
[1]
[1] [webide-common-tizentv]projectHelper.buildWidget() profilePath = /Users/razuser/tizen-studio-data/profile/profiles.xml, excludeFiles = undefined
[1] After build package, signature tempory files were removed
[1] [webide-common-tizentv]projectHelper.widget.on(): Build Package completed!
[1] ============================== Build Package completed!
[1]
[1] ============================== Start to install the package
[0] Hash: c4faa3fb66a7c99329af
[0] Version: webpack 4.43.0
[0] Time: 2904ms
[0] Built at: 03/31/2021 3:15:43 PM
[0]     Asset      Size  Chunks             Chunk Names
[0] bundle.js  85.7 KiB   entry  [emitted]  entry
[0] Entrypoint entry = bundle.js
[0] [0] multi ./src/main.ts 28 bytes {entry} [built]
[0] [./src/main.ts] 1.03 KiB {entry} [built]
[0]     + 1 hidden module
[1] listening on 6321
[1] a user connected
prozanne commented 3 years ago

Hi, Sorry for having missed this issue. It seems you've already resolved this, right? (I saw you raised another issue) Perhaps, if you still be in trouble, please let me know.

ionescu77 commented 3 years ago

Hello,

~Yes, you can close this one please.~

Thank you.

It is the official tizen Typescript sample.

I am still getting page not found error when trying to run on the Samsung Display.

The other issue is a standard Angular app, which I am able to build as WGT and run on the Samsung Display. However with this Angular one I was not able to use the Tizen APIs.

I will post my code.