cordova-plugin-delete-launch-screen-cache
v1.0.2
Published
Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+
Downloads
26
Readme
cordova-plugin-delete-launch-screen-cache
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
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.