New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apple-status-bar-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apple-status-bar-webpack-plugin

Place this after FaviconsWebpackPlugin to override apple status bar

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-44.44%
Maintainers
1
Weekly downloads
 
Created
Source

AppleStatusBarWebpackPlugin

If you use the awesome FaviconWebpackPlugin to generate favion and icons to support android and ios Add To Home Screen feature, you will notice the apple status bar style is set to 'black-translucent', which makes it a problem for web apps that have white or light background since you will notice a white bar bar on top of your Web App. This plugin solve this issue by giving your control over the status bar colour.

This plugin should be placed after FaviconsWebpackPlugin for it it work.

    plugins: [
      // Enable globals
      new HtmlWebpackPlugin({
        title: 'Engage Mobile',
        template: paths.indexTemplate
      }),

      new FaviconsWebpackPlugin({
        logo: path.join(__dirname, '../../static/icons/144x144_360.png'),
        prefix: 'icons/',
        icons: {
          appleStartup: false
        }
      }),

      new AppleStatusBarPlugin('black')
    ]

It's a super simple plugin, all you need to do is spcify the header color in the constructor

  new AppleStatusBarPlugin('black')

Keywords

FAQs

Package last updated on 29 May 2018

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