emi-indo-cordova-plugin-admob 1.5.1 → 1.5.2
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/.vscode/settings.json +7 -0
- package/README.md +26 -5
- package/package.json +1 -1
- package/plugin.xml +11 -8
- package/src/ios/emiAdmobPlugin.h +1 -1
- package/src/ios/emiAdmobPlugin.m +1600 -1545
package/README.md
CHANGED
@@ -4,10 +4,11 @@
|
|
4
4
|
Cordova Plugin Admob Android and IOS
|
5
5
|
|
6
6
|
### Mobile Ads SDK (Android: 23.4.0) [Release Notes:](https://developers.google.com/admob/android/rel-notes)
|
7
|
+
### User Messaging Platform (UMP Android: 3.0.0) [Release Notes:](https://developers.google.com/admob/android/privacy/release-notes)
|
7
8
|
|
8
|
-
### Mobile Ads SDK (IOS: 11.
|
9
|
+
### Mobile Ads SDK (IOS: 11.10.0) [Release Notes:](https://developers.google.com/admob/ios/rel-notes)
|
9
10
|
|
10
|
-
### User Messaging Platform (UMP:
|
11
|
+
### User Messaging Platform Android (UMP IOS: 2.6.0) [Release Notes:](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/download)
|
11
12
|
### IAB Europe Transparency & Consent Framework (CPM: 2.2.0)
|
12
13
|
|
13
14
|
|
@@ -17,14 +18,31 @@
|
|
17
18
|
- cordova-android version = 12.0.0
|
18
19
|
- cordova-ios version = 7.0.0
|
19
20
|
|
20
|
-
|
21
|
+
|
22
|
+
## IOS Ad Support IOS 18 *
|
23
|
+
> [!WARNING]
|
24
|
+
> - emi-indo-cordova-plugin-admob@1.5.2
|
25
|
+
> - Minimum supported Xcode version up to 15.3 or higher
|
26
|
+
> - minimum deployment-target: 12.2
|
27
|
+
## Minimum macOS | Xcode, and others
|
28
|
+
- minimum macOS 14.4 or higher
|
29
|
+
- Xcode min 15.3 > or higher
|
30
|
+
- Command Line Tools 15.3 or higher
|
31
|
+
- minimum SwiftVersion: 5.10 or higher
|
32
|
+
- [Everything is included in plugin.xml](https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/blob/main/plugin.xml)
|
33
|
+
- [SKAdNetworkIdentifier Deprecated](https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/releases/tag/v1.5.1)
|
34
|
+
- Dependency: pod MerchantKit (not needed)
|
35
|
+
|
36
|
+
|
37
|
+
## IOS
|
38
|
+
> [!WARNING]
|
39
|
+
> - emi-indo-cordova-plugin-admob@1.5.1
|
21
40
|
> - Minimum supported Xcode version to 14.3
|
22
41
|
> - Maximum supported Xcode version up to 15.2
|
23
42
|
## Minimum macOS | Xcode, and others
|
24
43
|
- Monterey
|
25
44
|
- Xcode min 14.3 > max 15.2
|
26
45
|
- Command Line Tools 14.1 or higher
|
27
|
-
- Target iOS 12.0
|
28
46
|
https://developers.google.com/admob/ios/quick-start
|
29
47
|
|
30
48
|
<details>
|
@@ -115,7 +133,10 @@ cordova plugin add emi-indo-cordova-plugin-admob --save --variable APP_ID_ANDRO
|
|
115
133
|
cordova plugin rm emi-indo-cordova-plugin-admob
|
116
134
|
```
|
117
135
|
|
118
|
-
|
136
|
+
## Note IOS
|
137
|
+
> [!NOTE]
|
138
|
+
> - 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.
|
139
|
+
> - after that just cd platform/ios command line run pod install --repo-update
|
119
140
|
|
120
141
|
## Import the Mobile Ads SDK IOS
|
121
142
|
### Then from the command line run:
|
package/package.json
CHANGED
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="1.5.
|
3
|
+
id="emi-indo-cordova-plugin-admob" version="1.5.2">
|
4
4
|
|
5
5
|
<name>emiAdmobPlugin</name>
|
6
6
|
<description>Cordova Plugin Admob Android IOS</description>
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
|
82
82
|
<platform name="ios">
|
83
|
-
|
83
|
+
<!--minimum macOS 14.4 > Xcode 15.3 -->
|
84
84
|
<config-file target="config.xml" parent="/*">
|
85
85
|
<feature name="emiAdmobPlugin">
|
86
86
|
<param name="ios-package" value="emiAdmobPlugin" />
|
@@ -89,9 +89,10 @@
|
|
89
89
|
</config-file>
|
90
90
|
|
91
91
|
<config-file parent="/*" target="config.xml">
|
92
|
-
|
93
|
-
|
94
|
-
|
92
|
+
<!--minimum deployment-target: 12.2 -->
|
93
|
+
<preference name="deployment-target" value="12.2" />
|
94
|
+
<preference name="SwiftVersion" value="5.10" />
|
95
|
+
</config-file>
|
95
96
|
|
96
97
|
<preference name="USAGE"
|
97
98
|
default="This identifier will be used to deliver personalized ads to you." />
|
@@ -294,10 +295,12 @@
|
|
294
295
|
<source url="https://cdn.cocoapods.org/" />
|
295
296
|
</config>
|
296
297
|
<pods use-frameworks="true">
|
297
|
-
|
298
|
-
|
298
|
+
<!--minimum macOS 14.4 > Xcode 15.3 -->
|
299
|
+
<pod name="GoogleUserMessagingPlatform" spec="~> 2.6.0" />
|
300
|
+
<pod name="Google-Mobile-Ads-SDK" spec="~> 11.10.0" />
|
301
|
+
|
299
302
|
</pods>
|
300
303
|
</podspec>
|
301
304
|
|
302
305
|
</platform>
|
303
|
-
</plugin>
|
306
|
+
</plugin>
|
package/src/ios/emiAdmobPlugin.h
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
- (void)initialize:(CDVInvokedUrlCommand *)command;
|
21
21
|
- (void)requestIDFA:(CDVInvokedUrlCommand *)command;
|
22
22
|
- (void)showPrivacyOptionsForm:(CDVInvokedUrlCommand *)command;
|
23
|
-
- (void)getConsentRequest:(CDVInvokedUrlCommand *)command;
|
23
|
+
// - (void)getConsentRequest:(CDVInvokedUrlCommand *)command;
|
24
24
|
- (void)forceDisplayPrivacyForm:(CDVInvokedUrlCommand *)command;
|
25
25
|
- (void)consentReset:(CDVInvokedUrlCommand *)command;
|
26
26
|
- (void)getIabTfc:(CDVInvokedUrlCommand *)command;
|