cordova-admob-tomitank 1.3.8 → 1.4.1
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 +2 -2
- package/package.json +1 -1
- package/plugin.xml +3 -3
- package/src/android/cordova/AdMob.java +2 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# [Cordova AdMob tomitank]
|
|
2
2
|
|
|
3
3
|
Based on AdMob Plus Cordova with updated SDK-s
|
|
4
|
-
- Android: 24.
|
|
5
|
-
- iOS: 12.
|
|
4
|
+
- Android: 24.6.0
|
|
5
|
+
- iOS: 12.11.0
|
|
6
6
|
|
|
7
7
|
[](https://github.com/sponsors/tomitank)
|
|
8
8
|
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-admob-tomitank" version="1.
|
|
2
|
+
<plugin id="cordova-admob-tomitank" version="1.4.1"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
5
5
|
<name>cordova-admob-tomitank</name>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
<platform name="android">
|
|
22
22
|
<preference name="APP_ID_ANDROID" default="ca-app-pub-xxx~yyy" />
|
|
23
|
-
<preference name="PLAY_SERVICES_VERSION" default="24.
|
|
23
|
+
<preference name="PLAY_SERVICES_VERSION" default="24.6.0" />
|
|
24
24
|
|
|
25
25
|
<config-file target="AndroidManifest.xml" parent="/manifest/application">
|
|
26
26
|
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:excludeFromRecents="true" android:name="com.google.android.gms.ads.AdActivity" android:noHistory="true" />
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
<source url="https://cdn.cocoapods.org/" />
|
|
318
318
|
</config>
|
|
319
319
|
<pods use-frameworks="true">
|
|
320
|
-
<pod name="Google-Mobile-Ads-SDK" spec="~> 12.
|
|
320
|
+
<pod name="Google-Mobile-Ads-SDK" spec="~> 12.11.0" />
|
|
321
321
|
</pods>
|
|
322
322
|
</podspec>
|
|
323
323
|
</platform>
|
|
@@ -132,7 +132,7 @@ public class AdMob extends CordovaPlugin implements Helper.Adapter {
|
|
|
132
132
|
return true;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
private
|
|
135
|
+
private boolean startMobileAdsSdk(CallbackContext callbackContext) {
|
|
136
136
|
if (isPluginStarted == false) {
|
|
137
137
|
isPluginStarted = true;
|
|
138
138
|
MobileAds.initialize(cordova.getActivity(), status -> {
|
|
@@ -146,6 +146,7 @@ public class AdMob extends CordovaPlugin implements Helper.Adapter {
|
|
|
146
146
|
put("version", MobileAds.getVersion());
|
|
147
147
|
}}));
|
|
148
148
|
}
|
|
149
|
+
return true;
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
private boolean executeReady(CallbackContext callbackContext, boolean onlyCheck) {
|