https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache
๐งน๐
Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+
https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache
cordova cordova-ios-plugin cordova-plugin ionic ionic-plugin ios launch-screen phonegap phonegap-plugin swift typescript
Last synced: about 1 year ago
JSON representation
๐งน๐ Apache Cordova plugin to programmatically delete the iOS launch screen cache on iOS 13+
- Host: GitHub
- URL: https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache
- Owner: timbru31
- License: mit
- Created: 2020-07-28T13:24:23.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T16:09:05.000Z (about 1 year ago)
- Last Synced: 2025-04-15T02:53:23.534Z (about 1 year ago)
- Topics: cordova, cordova-ios-plugin, cordova-plugin, ionic, ionic-plugin, ios, launch-screen, phonegap, phonegap-plugin, swift, typescript
- Language: JavaScript
- Homepage:
- Size: 453 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# cordova-plugin-delete-launch-screen-cache
[](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/actions?query=workflow%3ALinting)
[](https://github.com/timbru31/cordova-plugin-delete-launch-screen-cache/actions?query=workflow%3ASecurity)
[](https://snyk.io/test/github/timbru31/cordova-plugin-delete-launch-screen-cache)
[](https://commitizen.github.io/cz-cli/)
[](LICENSE)
[](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.