Go to file
2023-05-24 19:54:59 +08:00
.github Add or update GitHub pull request and issue template 2019-02-11 18:40:29 +01:00
src 调整虚拟按键颜色为黑色 2020-05-07 20:28:14 +08:00
tests Incremented plugin version. (splash20190509) 2019-05-09 22:43:34 +02:00
types CB-12369: Add plugin typings from DefinitelyTyped 2017-01-20 11:56:43 +03:00
www CB-8056 Implement splashscreen for Windows platform 2016-04-22 18:20:28 +03:00
.appveyor.yml CB-13473: (CI) Removed browser builds from AppVeyor 2017-10-20 10:23:27 +03:00
.gitignore CB-7663 - iOS unit tests for splash screen 2014-09-29 17:33:50 -07:00
.jshintignore CB-10979 Fix splashscreen ios native tests 2016-03-30 10:12:25 +03:00
.jshintrc CB-10636 Add JSHint for plugins 2016-02-19 12:18:29 +03:00
.travis.yml ci(travis): Upgrade node from 6 to 8 2019-07-02 20:59:02 +02:00
CONTRIBUTING.md Actually fixing the contribute link. 2015-10-23 12:11:50 -07:00
LICENSE [license] adding apache license file 2013-08-06 14:42:09 -07:00
NOTICE Add NOTICE file 2014-02-27 15:36:31 -05:00
package.json Incremented plugin version. (splash20190509) 2019-05-09 22:43:34 +02:00
plugin.xml 更新 'plugin.xml' 2023-05-24 19:54:59 +08:00
README.md 修改参数名称 2020-04-02 09:52:56 +08:00
RELEASENOTES.md Updated version and RELEASENOTES.md for release 5.0.3 (splash20190509) 2019-05-09 22:41:12 +02:00

title description
可设置全屏显示的 Splashscreen Control the splash screen for your app.

cordova-plugin-splashscreen

cordova-plugin-splashscreen 的基础上添加了全屏设置,处理了android启动app时黑屏的问题

Installation

// 安装前请先卸载 cordova-plugin-splashscreen 插件
cordova plugin rm cordova-plugin-splashscreen

// 安装插件
cordova plugin add https://github.com/shuto-cn/cordova-plugin-splashscreen.git

Preferences

config.xml

  • SplashFullScreen (boolean, default to true). 在app未设置全屏的情况下FadeSplash是否全屏显示

    <preference name="SplashFullScreen" value="true" />
    

Other

  • 关于android启动黑屏 请保持SplashScreen参数值为screen否则请修改src/android/res/values/style.xml中对应资源id
  • 其他配置及插件使用方法请移步cordova-plugin-splashscreen