4
0
mirror of https://github.com/apache/cordova-android.git synced 2025-04-23 17:52:22 +08:00

5 lines
223 B
JavaScript

PhoneGap.addConstructor(function() {
if (typeof navigator.splashScreen == "undefined") {
navigator.splashScreen = SplashScreen; // SplashScreen object come from native side through addJavaScriptInterface
}
});