cordova-admob-tomitank 1.3.8 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-admob-tomitank",
3
- "version": "1.3.8",
3
+ "version": "1.4.0",
4
4
  "description": "Trustable Google AdMob Cordova Plugin",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",
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.3.8"
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 void startMobileAdsSdk(CallbackContext callbackContext) {
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) {