Add tentative Tizen implementation.
This commit is contained in:
parent
4b757c8e73
commit
9ebd08f69b
@ -37,7 +37,7 @@
|
||||
|
||||
<header-file src="src/ios/CDVSplashScreen.h" />
|
||||
<source-file src="src/ios/CDVSplashScreen.m" />
|
||||
|
||||
|
||||
<framework src="CoreGraphics.framework" />
|
||||
</platform>
|
||||
|
||||
@ -80,4 +80,9 @@
|
||||
</js-module>
|
||||
</platform>
|
||||
|
||||
<!-- tizen -->
|
||||
<platform name="tizen">
|
||||
<js-module src="www/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
|
||||
</js-module>
|
||||
</platfom>
|
||||
</plugin>
|
||||
|
14
src/tizen/SplashScreenProxy.js
Normal file
14
src/tizen/SplashScreenProxy.js
Normal file
@ -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);
|
Loading…
x
Reference in New Issue
Block a user