This commit is contained in:
Anis Kadri 2014-01-27 17:00:15 -08:00
commit 4da6ca883c
2 changed files with 29 additions and 1 deletions

View File

@ -54,7 +54,7 @@
<header-file src="src/ios/CDVSplashScreen.h" />
<source-file src="src/ios/CDVSplashScreen.m" />
<framework src="CoreGraphics.framework" />
</platform>
@ -97,4 +97,10 @@
</js-module>
</platform>
<!-- tizen -->
<platform name="tizen">
<js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
<runs />
</js-module>
</platform>
</plugin>

View File

@ -0,0 +1,22 @@
( function() {
win = null;
module.exports = {
show: function() {
if ( win === null ) {
win = window.open('splashscreen.html');
}
},
hide: function() {
if ( win !== null ) {
win.close();
win = null;
}
}
};
require("cordova/tizen/commandProxy").add("SplashScreen", module.exports);
})();