diff --git a/plugin.xml b/plugin.xml index 5500ad3..3a9ae5e 100644 --- a/plugin.xml +++ b/plugin.xml @@ -37,7 +37,7 @@ - + @@ -80,4 +80,9 @@ + + + + + diff --git a/src/tizen/SplashScreenProxy.js b/src/tizen/SplashScreenProxy.js new file mode 100644 index 0000000..8d630f2 --- /dev/null +++ b/src/tizen/SplashScreenProxy.js @@ -0,0 +1,14 @@ +var exec = require('cordova/exec'); + +module.exports = { + splashscreen: { + show = function() { + exec(null, null, "SplashScreen", "show", []); + }, + hide = function() { + exec(null, null, "SplashScreen", "hide", []); + } + } +}; + +require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);