Considerations for getting around Ionic cordova plugin dependency related installation errors

柔情痞子 提交于 2019-12-13 03:46:28

问题


I am using Ionic 3 for mobile app development.

I have faced lot of plugin installation errors which I have been fixing using solutions proposed in online forums. Sometimes installing the gradle plugin to align the version or changing the plugin version during npm install resolves the error. Much of this is a time consuming, trial and error approach. I am creating this questions to understand and document the best practice, if there is any, when installing plugins so that there are no conflicts re. version dependencies - for example on: com.google.android.gms, etc

The plugin 'cordova-plugin-firebase-analytics' - we have multiple versions of plugins here and multiple versions of the npm here. Please can I have some guidance on what factors must be considered when deciding which version of plugin and npm is to be installed to avoid dependency related installation errors please?

来源:https://stackoverflow.com/questions/55606811/considerations-for-getting-around-ionic-cordova-plugin-dependency-related-instal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!