cordova-plugin-delete-launch-screen-cache

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

Usage no npm install needed!

<script type="module">
  import cordovaPluginDeleteLaunchScreenCache from 'https://cdn.skypack.dev/cordova-plugin-delete-launch-screen-cache';
</script>

README

cordova-plugin-delete-launch-screen-cache

Build Status

Dependency Status devDependency Status Known Vulnerabilities

Commitizen friendly Dependabot Status License npm

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.