codeplay-common 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -625,7 +625,7 @@ console.log('✅ Kotlin version updated in build.gradle.');
|
|
|
625
625
|
|
|
626
626
|
|
|
627
627
|
|
|
628
|
-
|
|
628
|
+
let _admobConfig;
|
|
629
629
|
|
|
630
630
|
|
|
631
631
|
|
|
@@ -820,7 +820,7 @@ function updateInfoPlist(admobConfig) {
|
|
|
820
820
|
console.log('AdMob IDs and additional configurations successfully updated in Info.plist');
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
|
|
823
|
+
|
|
824
824
|
try {
|
|
825
825
|
if (!fileExists(configPath)) {
|
|
826
826
|
throw new Error(' ❌ capacitor.config.json not found. Skipping setup.');
|
|
@@ -1088,7 +1088,7 @@ const admobConfigPath = path.join('src', 'js','Ads', 'admob-ad-configuration.jso
|
|
|
1088
1088
|
const checkAdmobConfigurationProperty=()=>{
|
|
1089
1089
|
|
|
1090
1090
|
|
|
1091
|
-
if (_admobConfig.ADMOB_ENABLED)
|
|
1091
|
+
if (!_admobConfig.ADMOB_ENABLED)
|
|
1092
1092
|
{
|
|
1093
1093
|
console.log("ℹ️ Admob is not enabled so 'admob-ad-configuration.json' checking is skipping...");
|
|
1094
1094
|
return;
|