简体   繁体   English

Ionic Cordova插件通过Android版本

[英]Ionic cordova plugins by android version

I want to know if there any website or anyone know how to know which cordova plugins version are for android 5.0.0. 我想知道是否有任何网站或任何人知道如何为Android 5.0.0使用哪个cordova插件版本。 Because when I try to build android 5.0.0 with newest plugins it throws errors, that these plugins are not in that android version. 因为当我尝试使用最新的插件构建android 5.0.0时会引发错误,因此这些插件不在该android版本中。

For example : 例如 :

cordova-plugin-splashscreen 2,14,0 - android 7.1.0 working
cordova-plugin-splashscreen 2,14,0 - android 5.0 not working

You should use one of the latest cordova platform plugin. 您应该使用最新的cordova平台插件之一。 At the moment is the version 7.XX and 6.XX 目前是版本7.XX和6.XX

cordova-android 科尔多瓦,机器人

7.XX -> 4.4 ~ 8.1 Android version 7.XX-> 4.4〜8.1 Android版本

6.XX -> 4.1 ~ 8.0 Android version 6.XX-> 4.1〜8.0 Android版本

Table of equivalence cordova-android to range of android version : 等同于cordova-android到android版本范围的表:

Using the version 6 or 7 you will cover the android 5 and will work with the most of the plugins. 使用版本6或7,您将涵盖android 5,并将与大多数插件一起使用。 The 7.XX version have a breaking change with the old plugins . 7.XX版本与旧插件相比有重大变化。

If you use some old plugins you will stick with the 6.XX If not it's preferable the 7.XX . 如果您使用一些旧的插件,那么您将坚持使用6.XX。否则,最好使用7.XX。

For more information: https://cordova.apache.org/blog/ 有关更多信息: https : //cordova.apache.org/blog/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM