Skip to content

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

License

Notifications You must be signed in to change notification settings

timbru31/cordova-plugin-delete-launch-screen-cache

Repository files navigation

cordova-plugin-delete-launch-screen-cache

Linting npm audit

Dependency Status devDependency Status Known Vulnerabilities

Commitizen friendly Dependabot Status 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

from npm (recommended)

$ 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

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.