I need to develop an application for Samsung TV and I know it can be developed with Tizen Studio but I would like to use React. When I build React application and launch it on TV it works fine, however I need to access Samsung Product APIs that is loaded via
<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>
I tried downloading all webapis.js code and load it in React application but I get 'webapis' is not defined
error.
Is there are a proper way to load webapis.js file in React application, so I could access Samsung Product API methods?