Samsung / cordova-plugin-toast

Cordova plugin that provides TV Specific functionalities.
Apache License 2.0
121 stars 60 forks source link

this project still on development? #75

Open cgtarmenta opened 6 years ago

cgtarmenta commented 6 years ago

it seems to be outdated, even the Tizen studio says that the proyects generated by this plugin are outdated(2.3) and seems imposible to install the wgt file to a 2017's lineup tv.

May be we just need a tutorial about it XD

Can someone confirm that this plugin works for newly tvs?

prozanne commented 6 years ago

Hi. You can refer an information at the developers site for samsung. Even though, It is generated tizen 2.3 version, You can change the version when you import your wgt file in Tizen Studio.

  1. select wgt file in your file browser File > Import.. > Tizen > Tizen Project > Tizen Import Wizard(Archive File) > At this step you can show Profile(tv) and Version(2.3). You just change version to 3.0 or later, And press Finish button. Then you completed to import your wgt file in Tizen studio. After importing, you can work through that SDK to repackage or writing code to install your project on device. (2017, 2018... tizen tv)

http://developer.samsung.com/tv/develop/getting-started/creating-tv-applications

cgtarmenta commented 6 years ago

Thanks for your answer @prozanne i've already done the import and change the version(tizen studio 2.x only supports 4.x apps, so it doesn't gives you to much to choice XD), but even after repackage with tizen studio, the instalation fails, and shows a warning about 2.3 version....

is there any way to install my signed wgt trough usb/network???

Even on orsay got problems trying to run toast media example

this is the output of web inspector in orsay:

NotSupportedError: DOM Exception 9: The implementation did not support the requested type of object or operation. undefined:1
cordova/platform: orsay bootstrap BEGIN cordova.js:1355
adding proxy for NetworkStatus cordova.js:881
adding proxy for Console cordova.js:881
adding proxy for Device cordova.js:881
adding proxy for Globalization cordova.js:881
cordova/platform: orsay bootstrap END cordova.js:1450
adding proxy for toast.inputdevice cordova.js:1870
    return Window cordova.js:1870
TypeError: 'null' is not an object (evaluating 'currentPlugin.Close') cordova.js:1524
get cordova.js:1524
(anonymous function) toast.js:1648
build cordova.js:51
require cordova.js:66
localRequire cordova.js:47
mapModules cordova.js:1209
(anonymous function) toast.js:3196
    [webapis.js] Version : 1.2.38 cordova.js:1870
[ADFW] webapis.adfw module loaded! 1 cordova.js:1870
SyntaxError: Unexpected token '<' jqueryapi.info/:3
Failed to load resource: fail to read a resource form decryptied file file:///mtd_down/widgets/user/bmstream/cordova_plugins.js
    return AppCommon cordova.js:1870
TypeError: 'null' is not an object (evaluating 'AppCommonPlugin.Execute') cordova.js:1407
deviceready has not fired after 5 seconds. cordova.js:1870
Channel not fired: onNativeReady cordova.js:1870
Channel not fired: onCordovaReady cordova.js:1870
Channel not fired: onCordovaConnectionReady cordova.js:1870
Channel not fired: onCordovaInfoReady cordova.js:1870

fails on adding toast.inputdevice....

any clue why could be happening this?

many thanks in advance.