mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-08-05 00:01:33 +08:00
Add tentative Tizen implementation.
This commit is contained in:
+6
-1
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user