npm.io
1.0.2 • Published 3 years ago

cordova-plugin-delete-launch-screen-cache

Licence
MIT
Version
1.0.2
Deps
0
Size
7 kB
Vulns
0
Weekly
0
Stars
7

cordova-plugin-delete-launch-screen-cache

Linting npm audit

Known Vulnerabilities

Commitizen friendly License npm

Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+

Inspired by Guilherme Rambo's blog entry.

Supported platforms

  • iOS
Installation

$ cordova plugin add cordova-plugin-delete-launch-screen-cache

from git (unstable)

$ cordova plugin add https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache.git

Caveats

Only cordova >= 9.0.0 and cordova-ios >= 5.0.0 are supported.
You need to specify a valid SwiftVersion (minimum is 5.5) in your config.xml. (see https://cordova.apache.org/docs/en/latest/config_ref/)

Usage
Delete the launch screen cache
cordova.plugins.launchScreenCache.deleteLaunchScreenCache().finally((result) => {
    // returns true in the success case, false if iOS <13
    // rejects in an error case
});

Built by (c) Tim Brust and contributors. Released under the MIT license.

Keywords