cordova-admob-tomitank 1.3.7 → 1.4.0
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 +1 -0
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/cordova/AdMob.java +2 -1
package/README.md
CHANGED
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.0"
|
|
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>
|
|
@@ -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) {
|