emi-indo-cordova-plugin-admob 2.0.6 → 2.0.8

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.
package/README.md CHANGED
@@ -1,3 +1,132 @@
1
+ ### emi-indo-cordova-plugin-admob@2.0.8
2
+
3
+
4
+ ## Features/method
5
+ - initialize
6
+ - targeting
7
+ - globalSettings
8
+ - AppTrackingTransparency (ATT)
9
+ - CMP SDK
10
+ - UMP SDK
11
+ - CustomConsentManager
12
+ - App Open Ads
13
+ - Banner Ads including (Collapsible)
14
+ - Interstitial Ads
15
+ - Rewarded Ads
16
+ - Adsense
17
+ - Mediation
18
+ - impression-level-ad-revenue
19
+ - targetingAdRequest
20
+ - setPersonalizationState
21
+ - setPPS
22
+
23
+ ## new version of the plugin @2.0.8 or higher
24
+ - Migrate from Mobile Ads SDK (Android) v23 to v24
25
+ - Migrate from Mobile Ads SDK (iOS) SDK version v11 to v12
26
+ - Migrate from Cordova Android 13.0.0 to 14.0.0
27
+ - And maybe some APIs are re-signed, the old api will not be disturbed.
28
+ - https://cordova.apache.org/announcements/2025/03/26/cordova-android-14.0.0.html
29
+ - Full of simple examples: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/tree/main/example/www/js
30
+ - Check all release notes: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases/
31
+ ```
32
+ config.xml
33
+ <preference name="fullscreen" value="false | true" />
34
+ <preference name="android-minSdkVersion" value="23" />
35
+ <preference name="android-targetSdkVersion" value="35" />
36
+ ```
37
+
38
+ - VIDEO banner top-center: https://www.youtube.com/watch?v=uQrC0k3-VU8
39
+ - VIDEO banner bottom-center: https://www.youtube.com/watch?v=qqxxa2gi7OU
40
+
41
+ <h3>Screenshots banner ad no overlapping</h3>
42
+
43
+ <table>
44
+ <tr>
45
+ <td align="left"><strong>Banner Ad</strong></td>
46
+ <td align="center"><strong>Collapsible, no overlapping, non full-screen</strong></td>
47
+ <td align="center"><strong>Collapsible close, no overlapping, non full-screen</strong></td>
48
+ <td align="center"><strong>Collapsible, no overlapping, full-screen</strong></td>
49
+ <td align="center"><strong>Collapsible close, no overlapping, full-screen</strong></td>
50
+ </tr>
51
+
52
+ The height of the body is reduced by the height of the banner, || Auto-detect whether it is in full-screen mode or not.
53
+
54
+ <tr>
55
+ <td></td>
56
+ <td align="center">
57
+ <img width="200" src="https://github.com/user-attachments/assets/53b832d2-8d15-4450-919b-9833569d0ffb" alt="Banner Ad" />
58
+ </td>
59
+ <td align="center">
60
+ <img width="200" src="https://github.com/user-attachments/assets/80ebf83f-b8fd-4a4c-8121-e2088005399d" alt="Banner Ad" />
61
+ </td>
62
+ <td align="center">
63
+ <img width="200" src="https://github.com/user-attachments/assets/13c3333f-b612-426e-8c3a-1e31695dc548" alt="Banner Ad" />
64
+ </td>
65
+ <td align="center">
66
+ <img width="200" src="https://github.com/user-attachments/assets/f4583d93-5764-4d24-a11c-ffdf623cb50a" alt="Banner Ad" />
67
+ </td>
68
+ </tr>
69
+ </table>
70
+
71
+
72
+ <h3>Screenshots banner ad overlapping</h3>
73
+
74
+ <table>
75
+ <tr>
76
+ <td align="left"><strong>Banner Ad</strong></td>
77
+ <td align="center"><strong>Collapsible, overlapping, full-screen</strong></td>
78
+ <td align="center"><strong>Collapsible close, overlapping, full-screen</strong></td>
79
+ <td align="center"><strong>Collapsible, overlapping, non full-screen</strong></td>
80
+ <td align="center"><strong>Collapsible close, overlapping, full-screen</strong></td>
81
+ </tr>
82
+
83
+ The body height is not reduced, the banner overlaps on top of the body, || Auto-detect whether it is in full-screen mode or not.
84
+
85
+ <tr>
86
+ <td></td>
87
+ <td align="center">
88
+ <img width="200" src="https://github.com/user-attachments/assets/14646090-bbc8-4c31-812b-f945faaadd06" alt="Banner Ad" />
89
+ </td>
90
+ <td align="center">
91
+ <img width="200" src="https://github.com/user-attachments/assets/c78e7879-cab6-4963-ad72-4a68316d7181" alt="Banner Ad" />
92
+ </td>
93
+ <td align="center">
94
+ <img width="200" src="https://github.com/user-attachments/assets/840ce3ef-60bb-4f74-9705-61d511d964f0" alt="Banner Ad" />
95
+ </td>
96
+ <td align="center">
97
+ <img width="200" src="https://github.com/user-attachments/assets/9342fb3b-bb38-4681-a794-44e25d6b9bd8" alt="Banner Ad" />
98
+ </td>
99
+ </tr>
100
+ </table>
101
+
102
+
103
+ <h3>Screenshots</h3>
104
+
105
+ <table>
106
+ <tr>
107
+ <td align="left"><strong>Non banner</strong></td>
108
+ <td align="center"><strong>App Open Ad</strong></td>
109
+ <td align="center"><strong>Interstitial Ad</strong></td>
110
+ <td align="center"><strong>Rewarded video or Rewarded Interstitial</strong></td>
111
+ <td align="center"><strong>Adsense</strong></td>
112
+ </tr>
113
+ <tr>
114
+ <td></td>
115
+ <td align="center">
116
+ <img width="200" src="https://github.com/user-attachments/assets/fc641c56-5219-4f02-8122-6a42a51f0853" alt="App Open Ad" />
117
+ </td>
118
+ <td align="center">
119
+ <img width="200" src="https://github.com/user-attachments/assets/7a5c68f2-18f9-4e23-9464-4a4c307f06ae" alt="Interstitial Ad" />
120
+ </td>
121
+ <td align="center">
122
+ <img width="200" src="https://github.com/user-attachments/assets/2d87f85e-5fb7-4bf4-8b86-c2411c35fdcf" alt="Rewarded Ad" />
123
+ </td>
124
+ <td align="center">
125
+ <img width="200" src="https://github.com/user-attachments/assets/14b289c4-74f7-45a7-9a8a-52df8859afec" alt="AdSense" />
126
+ </td>
127
+ </tr>
128
+ </table>
129
+
1
130
 
2
131
 
3
132
 
@@ -11,6 +140,9 @@
11
140
  ## Support framework
12
141
  - Quasar: https://github.com/quasarframework/quasar/discussions/17706
13
142
  - Capacitor: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/discussions/29
143
+ - Jquery mobile: https://jquerymobile.com/
144
+
145
+
14
146
 
15
147
  > [!NOTE]
16
148
  > - To maintain this plugin in the long run,
@@ -20,15 +152,16 @@
20
152
  ## 💰Sponsor this project
21
153
  [![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/emiindo)
22
154
  [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/F1F16NI8H)
23
- ## [Check all release notes:](https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases/)
155
+
156
+ ### Check all release notes: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases/
24
157
 
25
158
 
26
- ### Mobile Ads SDK (Android: 23.6.0) [Release Notes:](https://developers.google.com/admob/android/rel-notes)
27
- ### User Messaging Platform (UMP Android: 3.1.0) [Release Notes:](https://developers.google.com/admob/android/privacy/release-notes)
159
+ ### Mobile Ads SDK (Android: 24.1.0) [Release Notes:](https://developers.google.com/admob/android/rel-notes)
160
+ ### User Messaging Platform (UMP Android: 3.2.0) [Release Notes:](https://developers.google.com/admob/android/privacy/release-notes)
28
161
 
29
- ### Mobile Ads SDK (IOS: 11.13.0) [Release Notes:](https://developers.google.com/admob/ios/rel-notes)
162
+ ### Mobile Ads SDK (IOS: 12.2.0) [Release Notes:](https://developers.google.com/admob/ios/rel-notes)
30
163
 
31
- ### User Messaging Platform (UMP IOS: 2.7.0) [Release Notes:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/download)
164
+ ### User Messaging Platform (UMP IOS: 3.0.0) [Release Notes:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/download)
32
165
  ### IAB Europe Transparency & Consent Framework (CMP: 2.2.0)
33
166
 
34
167
 
@@ -36,19 +169,67 @@
36
169
  ## Documentation Capacitor example
37
170
  - [Documentation Capacitor example: ](https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/discussions/29)
38
171
 
39
- ### This is not a dependency, it's a separate plugin but highly recommended.
40
- https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics
172
+
41
173
 
42
174
  ## New example
43
175
  - https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/tree/main/example/www
44
176
 
177
+ ## Version locking the plugin during production is highly recommended.
178
+
179
+ - Example cordova plugin add emi-indo-cordova-plugin-admob@1.6.0 --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx
180
+ - View plugin version: https://www.npmjs.com/package/emi-indo-cordova-plugin-admob?activeTab=versions
181
+ - Release notes: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases
182
+
183
+ ## Installation
184
+ - Only platform Android
185
+ ```sh
186
+ cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx
187
+ ```
188
+
189
+ - Only platform IOS
190
+ ```sh
191
+ cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_IOS=ca-app-pub-xxx~xxx
192
+ ```
45
193
 
46
- ## Minimum Cordova Engines
47
- - cordova-android version = 12.0.0
194
+ - Platform Both
195
+ ```sh
196
+ cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx --variable APP_ID_IOS=ca-app-pub-xxx~xxx
197
+ ```
198
+
199
+ ## Remove
200
+ ```sh
201
+ cordova plugin rm emi-indo-cordova-plugin-admob
202
+ ```
203
+
204
+ ## Note IOS
205
+ > [!NOTE]
206
+ > - To prevent some warnings or errors in xcode later, it is best after adding platforms and plugins cd/project root/command line run cordova prepare.
207
+ > - after that just cd platform/ios command line run pod install --repo-update
208
+
209
+ ## Import the Mobile Ads SDK IOS
210
+ ### Then from the command line run:
211
+ - cd platforms/ios
212
+ - Then run cordova prepare
213
+ ### Then from the command line run:
214
+ - pod install --repo-update
215
+
216
+
217
+ ### This is not a dependency, it's a separate plugin but highly recommended.
218
+ https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics
219
+
220
+
221
+ ## Older versions of plugins
222
+
223
+ <details>
224
+ <summary>Older versions of plugins</summary>
225
+
226
+
227
+ ### Minimum Cordova Engines
228
+ - cordova-android version = 13.0.0
48
229
  - cordova-ios version = 7.0.0
49
230
 
50
231
 
51
- ## IOS Ad Support IOS 18 *
232
+ ### IOS Ad Support IOS 18 *
52
233
  - Fix error build IOS: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/discussions/42
53
234
  - Mobile Ads SDK (IOS: 11.12.0)
54
235
  - emi-indo-cordova-plugin-admob@1.6.3 or higher requires cocoapods 1.16.2 or higher
@@ -57,7 +238,7 @@ https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics
57
238
  > - emi-indo-cordova-plugin-admob@1.5.2 or higher
58
239
  > - Minimum supported Xcode version up to 15.3 or higher
59
240
  > - minimum deployment-target: 12.2
60
- ## Minimum macOS | Xcode, and others
241
+ ### Minimum macOS | Xcode, and others
61
242
  - minimum macOS 14.4 or higher
62
243
  - Xcode min 15.3 > or higher
63
244
  - Command Line Tools 15.3 or higher
@@ -67,7 +248,7 @@ https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics
67
248
  - Dependency: pod MerchantKit (not needed)
68
249
 
69
250
 
70
- ## IOS
251
+ ### IOS
71
252
  > [!WARNING]
72
253
  > - emi-indo-cordova-plugin-admob@1.5.1
73
254
  > - Minimum supported Xcode version to 14.3
@@ -78,6 +259,8 @@ https://github.com/EMI-INDO/emi-indo-cordova-plugin-fanalytics
78
259
  - Command Line Tools 14.1 or higher
79
260
  https://developers.google.com/admob/ios/quick-start
80
261
 
262
+ </details>
263
+
81
264
  <details>
82
265
  <summary>Guaranteed income using this plugin #14</summary>
83
266
 
@@ -92,6 +275,11 @@ https://developers.google.com/admob/ios/quick-start
92
275
  > -
93
276
  </details>
94
277
 
278
+
279
+ ## Video test of the old version of the plugin
280
+ <details>
281
+ <summary>Video test of the old version of the plugin</summary>
282
+
95
283
  ## VIDEO Test Collapsible banner ads
96
284
  - Test Plugin with construct 3
97
285
 
@@ -117,7 +305,7 @@ https://developers.google.com/admob/ios/quick-start
117
305
 
118
306
  [![Video](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLhjgjUkLSlagAcfz_0KwNXLLfvZnkrs8YG4PAUo9y5e0kyTDwUYAHATmWzyF0ZkJ7EWCsvsJIhP-rIDPnAMrrQKkmuZxM38lW4JIzzfb0LZWTh0q9FCbEPEZBjbgkZbzsFlI23Y30uTPR-TEiVpt9w5gFUQXrep0_Tlyj_koRJUhc66zxE2UUJPsejEE/s320/mq2.webp)](https://youtu.be/sLXHKdU6DAg)
119
307
 
120
-
308
+ </details>
121
309
 
122
310
 
123
311
 
@@ -139,45 +327,6 @@ https://developers.google.com/admob/ios/quick-start
139
327
  <li> impression-level-ad-revenue</li>
140
328
  </ul>
141
329
  </details>
142
- ## Version locking the plugin during production is highly recommended.
143
-
144
- - Example cordova plugin add emi-indo-cordova-plugin-admob@1.6.0 --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx
145
- - View plugin version: https://www.npmjs.com/package/emi-indo-cordova-plugin-admob?activeTab=versions
146
- - Release notes: https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases
147
-
148
- ## Installation
149
- - Only platform Android
150
- ```sh
151
- cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx
152
- ```
153
-
154
- - Only platform IOS
155
- ```sh
156
- cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_IOS=ca-app-pub-xxx~xxx
157
- ```
158
-
159
- - Platform Both
160
- ```sh
161
- cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_ANDROID=ca-app-pub-xxx~xxx --variable APP_ID_IOS=ca-app-pub-xxx~xxx
162
- ```
163
-
164
- ## Remove
165
- ```sh
166
- cordova plugin rm emi-indo-cordova-plugin-admob
167
- ```
168
-
169
- ## Note IOS
170
- > [!NOTE]
171
- > - To prevent some warnings or errors in xcode later, it is best after adding platforms and plugins cd/project root/command line run cordova prepare.
172
- > - after that just cd platform/ios command line run pod install --repo-update
173
-
174
- ## Import the Mobile Ads SDK IOS
175
- ### Then from the command line run:
176
- - cd platforms/ios
177
- - Then run cordova prepare
178
- ### Then from the command line run:
179
- - pod install --repo-update
180
-
181
330
 
182
331
 
183
332
  ## >>> Device Ready <<<
@@ -7,7 +7,7 @@
7
7
  "AdMob": {
8
8
  "APP_ID_ANDROID": "ca-app-pub-3940256099942544~3347511713",
9
9
  "APP_ID_IOS": "ca-app-pub-3940256099942544~1458002511",
10
- "USE_LITE_ADS": "lite"
10
+ "USE_LITE_ADS": ""
11
11
  }
12
12
  }
13
13
  }
@@ -8,4 +8,11 @@
8
8
  <content src="index.html" />
9
9
  <allow-intent href="http://*/*" />
10
10
  <allow-intent href="https://*/*" />
11
+ <preference name="GradlePluginKotlinVersion" value="2.1.0" />
12
+ <preference name="AndroidXEnabled" value="true" />
13
+ <preference name="GradlePluginKotlinEnabled" value="true" />
14
+ <preference name="orientation" value="portrait" />
15
+ <preference name="fullscreen" value="false" />
16
+ <preference name="android-minSdkVersion" value="23" />
17
+ <preference name="android-targetSdkVersion" value="35" />
11
18
  </widget>
@@ -14,7 +14,7 @@
14
14
  "author": "Apache Cordova Team",
15
15
  "license": "Apache-2.0",
16
16
  "devDependencies": {
17
- "emi-indo-cordova-plugin-admob": "^1.8.9"
17
+ "emi-indo-cordova-plugin-admob": "^2.0.8"
18
18
  },
19
19
  "cordova": {
20
20
  "plugins": {
File without changes
@@ -1,4 +1,4 @@
1
- // ccordova.plugins.emiAdmobPlugin.styleBannerAd({isOverlapping: true, overlappingHeight: 0, padding: 0, margins: 0 }); // ( only android)
1
+ // cordova.plugins.emiAdmobPlugin.styleBannerAd({isOverlapping: true, overlappingHeight: 0, padding: 0, margins: 0 }); // ( only android)
2
2
  //cordova.plugins.emiAdmobPlugin.loadBannerAd({config});
3
3
  //cordova.plugins.emiAdmobPlugin.showBannerAd(); // default
4
4
  //cordova.plugins.emiAdmobPlugin.hideBannerAd(); // default
@@ -8,45 +8,27 @@
8
8
 
9
9
  function loadBanner() {
10
10
 
11
- if (typeof cordova !== 'undefined') {
12
-
13
- // IOS Still under development
11
+ // Optional Only IOS
14
12
  if (isPlatformIOS){
15
- // If there is a problem isOverlapping: false
16
13
  cordova.plugins.emiAdmobPlugin.styleBannerAd({
17
- isOverlapping: true, // default false IOS | Android
18
- paddingWebView: 1.0 // Only IOS
14
+ isOverlapping: true, // default false
15
+ paddingWebView: 1.0
19
16
  });
20
17
 
21
- } else {
22
-
23
- // Android
24
-
25
- cordova.plugins.emiAdmobPlugin.styleBannerAd({
26
- isOverlapping: true, // default false IOS | Android
27
- isStatusBarShow: true, // default true Only Android
28
- overlappingHeight: 0, // default 0 (Automatic) Only Android
29
- padding: 0, // default 0 Only Android
30
- margins: 0 // default 0 (Automatic) Only Android
31
- });
32
-
33
-
34
18
  }
35
19
 
36
20
 
37
21
 
38
-
39
-
40
22
  cordova.plugins.emiAdmobPlugin.loadBannerAd({
41
23
  adUnitId: Banner_ID, //Banner_ID,
42
- position: "bottom-center", // "Recommended: bottom-center"
43
- size: "banner", // autoResize: true (only responsive_adaptive)
24
+ position: "bottom-center", // bottom-center | top-center
25
+ size: "banner",
44
26
  collapsible: "", // position: top | bottom (disable, empty string)
45
- autoResize: true, // default false
46
27
  autoShow: true, // default false
47
-
28
+ isOverlapping: false // The height of the body is reduced by the height of the banner.
29
+ // isOverlapping: true // The body height is not reduced, the banner overlaps on top of the body
48
30
  });
49
- }
31
+
50
32
 
51
33
  }
52
34
 
@@ -80,18 +62,6 @@ function removeBanner() {
80
62
 
81
63
  /* ///////<<<< bannerAd position >>>>>>\\\\\\\
82
64
 
83
- (ANDROID)
84
-
85
- top-right
86
- top-center
87
- left
88
- center
89
- right
90
- bottom-center
91
- bottom-right
92
-
93
- (IOS)
94
-
95
65
  bottom-center
96
66
  top-center
97
67
 
@@ -141,8 +111,6 @@ on.banner.revenue
141
111
  on.banner.remove
142
112
  on.banner.hide
143
113
 
144
- // New event plugin v1.5.5 or higher
145
-
146
114
  on.is.collapsible
147
115
  on.bannerAd.responseInfo
148
116
 
@@ -151,33 +119,6 @@ on.banner.hide
151
119
 
152
120
 
153
121
 
154
- // EVENT For example
155
-
156
-
157
- // (Optional)
158
- // This is only triggered when cordova.plugins.emiAdmobPlugin.styleBannerAd
159
- document.addEventListener('on.style.banner.ad', (data) => {
160
- console.log("on.style.banner.ad: " + JSON.stringify(data));
161
- /* (ANDROID)
162
- const navBarHeight = data.navBarHeight;
163
- const screenHeight = data.screenHeight;
164
- const usableHeight = data.usableHeight;
165
- const isOverlapping = data.isOverlapping;
166
- const overlappingHeight = data.overlappingHeight;
167
- const paddingInPx = data.paddingInPx;
168
- const marginsInPx = data.marginsInPx;
169
- */
170
-
171
- /* (IOS)
172
- const screenHeight = data.screenHeight;
173
- const screenWidth = data.screenWidth;
174
- const safeAreaTop = data.safeAreaTop;
175
- const safeAreaBottom = data.safeAreaBottom;
176
- */
177
-
178
- });
179
-
180
-
181
122
 
182
123
 
183
124
 
@@ -67,7 +67,7 @@ document.addEventListener("deviceready", function () {
67
67
 
68
68
 
69
69
 
70
- // globalSettings
70
+ // globalSettings Optional
71
71
  cordova.plugins.emiAdmobPlugin.globalSettings({
72
72
  setAppMuted: false, // Type Boolean default: false
73
73
  setAppVolume: 1.0, // Type float
@@ -33,8 +33,6 @@ on.interstitial.failed.show
33
33
  on.interstitial.impression
34
34
  on.interstitial.show
35
35
 
36
- // New event plugin v1.5.5 or higher
37
-
38
36
  on.interstitial.revenue
39
37
  on.interstitialAd.responseInfo
40
38
 
@@ -41,8 +41,6 @@ on.interstitial.failed.show
41
41
  on.interstitial.impression
42
42
  on.interstitial.show
43
43
 
44
- // New event plugin v1.5.5 or higher
45
-
46
44
  on.interstitial.revenue
47
45
  on.interstitialAd.responseInfo
48
46
 
@@ -32,8 +32,6 @@ on.rewarded.show
32
32
  on.reward.userEarnedReward
33
33
  on.rewarded.ad.skip
34
34
 
35
- // New event plugin v1.5.5 or higher
36
-
37
35
  on.rewarded.revenue
38
36
  on.rewardedAd.responseInfo
39
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emi-indo-cordova-plugin-admob",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "Cordova/Quasar/Capacitor Plugin Admob Android IOS",
5
5
  "cordova": {
6
6
  "id": "emi-indo-cordova-plugin-admob",
package/plugin.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2
2
  xmlns:android="http://schemas.android.com/apk/res/android"
3
- id="emi-indo-cordova-plugin-admob" version="2.0.6">
3
+ id="emi-indo-cordova-plugin-admob" version="2.0.8">
4
4
 
5
5
  <name>emiAdmobPlugin</name>
6
6
  <description>Cordova/Quasar/Capacitor Plugin Admob Android IOS</description>
@@ -18,7 +18,6 @@
18
18
  version=">=11.0.0" />
19
19
  <engine name="cordova-ios"
20
20
  version=">=5.0.0" />
21
-
22
21
  </engines>
23
22
 
24
23
 
@@ -33,12 +32,11 @@
33
32
  <config-file parent="/*" target="config.xml">
34
33
  <preference name="AndroidXEnabled" value="true" />
35
34
  <preference name="GradlePluginKotlinEnabled" value="true" />
36
- <preference name="GradlePluginKotlinVersion" value="1.9.24" />
35
+ <preference name="GradlePluginKotlinVersion" value="2.1.0" />
37
36
  </config-file>
38
37
 
39
38
  <config-file parent="/*" target="AndroidManifest.xml">
40
39
  <uses-permission android:name="android.permission.INTERNET" />
41
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
42
40
  </config-file>
43
41
 
44
42
  <config-file target="AndroidManifest.xml" parent="/manifest/application">
@@ -61,11 +59,11 @@
61
59
  <!-- Sample AdMob app ID: ca-app-pub-3940256099942544~3347511713 -->
62
60
 
63
61
  <preference name="APP_ID_ANDROID" default="ca-app-pub-3940256099942544~3347511713" />
64
- <preference name="PLAY_SERVICES_VERSION" default="23.6.0" />
62
+ <preference name="PLAY_SERVICES_VERSION" default="24.1.0" />
65
63
 
66
64
  <framework src="com.google.android.gms:play-services-ads:$PLAY_SERVICES_VERSION" />
67
65
 
68
- <preference name="UMP" default="3.1.0" />
66
+ <preference name="UMP" default="3.2.0" />
69
67
  <framework src="com.google.android.ump:user-messaging-platform:$UMP" />
70
68
 
71
69
  <!-- Dependency Consent status will automatically reset after 12 months -->
@@ -302,9 +300,9 @@
302
300
  <source url="https://cdn.cocoapods.org/" />
303
301
  </config>
304
302
  <pods use-frameworks="true">
305
- <!--minimum macOS 14.4 > Xcode 15.3 -->
306
- <pod name="GoogleUserMessagingPlatform" spec="~> 2.7.0" />
307
- <pod name="Google-Mobile-Ads-SDK" spec="~> 11.13.0" />
303
+ <!--minimum macOS 14.4 > Xcode 16.0 -->
304
+ <pod name="GoogleUserMessagingPlatform" spec="~> 3.0.0" />
305
+ <pod name="Google-Mobile-Ads-SDK" spec="~> 12.2.0" />
308
306
 
309
307
  </pods>
310
308
  </podspec>