I’m trying to create a Tizen wearable web application using Angular 7.
The idea is to realize a simple angular app and then put the build files (obtained with ng build --prod command) inside a Tizen Studio base project. This way I can build to a wearable device.
Everything seems to work properly but now I’m facing a couple of problems:
I need to use a code snippet like the following inside an angular component but ‘tizen’ is not found. I figure I have to import tizen library somehow but I’ve no idea how to proceed (even where to find this library).
tizen.application.getCurrentApplication().exit();
I would like to use TAU (Tizen Advanced UI) directly inside angular code but I’m not able to import the library. I’m looking for some npm package or another way to import and use it.
Any suggestion is well accepted.
Thanks in advance!
(<any>window).tizen.application...
or even better, extend Window
interface with tizen
object.