# cordova-plugin-delete-launch-screen-cache

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

Latest version **1.0.2** (published 2023-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-delete-launch-screen-cache
pnpm add cordova-plugin-delete-launch-screen-cache
yarn add cordova-plugin-delete-launch-screen-cache
bun add cordova-plugin-delete-launch-screen-cache
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-07-11 |
| First published | 2020-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Tim Brust |
| Maintainers | timbru31, timbru |
| Keywords | cordova, cordova-plugin, ecosystem:cordova, cordova-ios, xcode, launch-screen |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-delete-launch-screen-cache
- Repository: https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache
- Homepage: https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache#readme
- Issues: https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/issues
- Funding: https://github.com/sponsors/timbru31
- npm.io page: https://npm.io/package/cordova-plugin-delete-launch-screen-cache

## Recent versions

- 1.0.2 (latest) — 2023-07-11
- 1.0.1 — 2020-08-01
- 1.0.0 — 2020-07-28

## README

# cordova-plugin-delete-launch-screen-cache

[![Linting](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/workflows/Linting/badge.svg)](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/actions?query=workflow%3ALinting)
[![npm audit](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/workflows/Security/badge.svg)](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/actions?query=workflow%3ASecurity)

[![Known Vulnerabilities](https://snyk.io/test/github/timbru31/cordova-plugin-delete-launch-screen-cache/badge.svg)](https://snyk.io/test/github/timbru31/cordova-plugin-delete-launch-screen-cache)

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![npm](https://img.shields.io/npm/v/cordova-plugin-delete-launch-screen-cache.svg)](https://www.npmjs.com/package/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](https://rambo.codes/posts/2019-12-09-clearing-your-apps-launch-screen-cache-on-ios).

### 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

```js
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.

---
_Source: https://npm.io/package/cordova-plugin-delete-launch-screen-cache · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
