Hello,
I currently have this variables.gradle file generated when I perform npx cap add android
ext {
minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33
androidxActivityVersion = '1.7.0'
androidxAppCompatVersion = '1.6.1'
androidxCoordinatorLayoutVersion = '1.2.0'
androidxCoreVersion = '1.10.0'
androidxFragmentVersion = '1.5.6'
coreSplashScreenVersion = '1.0.0'
androidxWebkitVersion = '1.6.1'
junitVersion = '4.13.2'
androidxJunitVersion = '1.1.5'
androidxEspressoCoreVersion = '3.5.1'
cordovaAndroidVersion = '10.1.1'
}
But for example I am using these two capacitor plugins @capacitor/Push-Notifications and @capacitor/Camera in which they have a section variables where it says that it will use these in the variables.gradle:
firebaseMessagingVersion = '23.3.1'
androidxExifInterfaceVersion='1.3.6'
androidxMaterialVersion='1.10.0'
My question is that are these variables supposed to be generated automatically if you’re using the plugin or I need to add it on my own? Or are these variables optional where you defined to select the version you want to use, and if not used, i will use the default?