apache / cordova-plugin-splashscreen

Apache Cordova Plugin splashscreen
Apache License 2.0
642 stars 640 forks source link

chore: update android engine requirement <11.0.0 #329

Closed erisu closed 2 years ago

erisu commented 2 years ago

Platforms affected

Android

Motivation and Context

The Cordova Android platform has inegrated the Splash Screen plugin as core functionality. This plugin is no longer needed in in the next majpr release of Cordova Android (11.0.0+).

Description

Update the engine requirement to not install on 11.0.0 or above.

Testing

Checklist

jcesarmobile commented 2 years ago

Don’t understand the “If using cordova-android@11.x or later, use cordova-plugin-splashscreen@7.x (currently in-development).”

are we going to launch a 7.x version removing the android code?

erisu commented 2 years ago

Yes, 7.x will drop all of the Android code.

erisu commented 2 years ago

I just kept the wording to match how iOS was written.

It can be reworded as

If using cordova-android@11.x or later and exclusively developing for Android, this plugin can be uninstalled.

This entire section will be deleted in version 7.x anyways as the Android docs will be removed. iOS For example, you can see the statement was removed in this upcoming PR: https://github.com/apache/cordova-plugin-splashscreen/pull/331

It should have been removed when 6.0.0 released, but the docs were not migrated at the time.