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?