Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-fix-blackscreen

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-fix-blackscreen

demo

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

cordova生成的android应用,启动前,会因为默认的黑色或白色背景,出现闪一下的黑白屏,为了解决这个问题,添加一个默认的背景图,同时screen.png作为cordova默认的启动屏图片,于是背景图设为screen.png #使用方法 步骤1——安装本插件:

cordova plugin add 本插件路径

步骤2——安装cordova-custom-config:

cordova plugin add cordova-custom-config

应用项目的config.xml文件添加一句: <preference name="android-manifest/application/activity/@android:theme" value="@style/WelcomeStyle" /> 这样就大功告成了!

FAQs

Package last updated on 22 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc