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

๐Ÿงน๐ŸŒ… Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

About

๐Ÿงน๐ŸŒ… Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+

License:MIT License


Languages

Language:Swift 51.3%Language:JavaScript 31.6%Language:TypeScript 17.0%