cordova-admob-tomitank 1.1.1 → 1.1.3

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.1.1",
3
+ "version": "1.1.3",
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.1.1"
2
+ <plugin id="cordova-admob-tomitank" version="1.1.3"
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>
@@ -28,7 +28,7 @@ class AMBAppOpenAd: AMBAdBase, FullScreenContentDelegate {
28
28
  clear()
29
29
 
30
30
  AppOpenAd.load(
31
- withAdUnitID: self.adUnitId,
31
+ with: self.adUnitId,
32
32
  request: adRequest,
33
33
  completionHandler: { (ad, error) in
34
34
  if error != nil {
@@ -59,7 +59,7 @@ class AMBPlugin: CDVPlugin {
59
59
  @objc func start(_ command: CDVInvokedUrlCommand) {
60
60
  let ctx = AMBContext(command)
61
61
  MobileAds.shared.start(completionHandler: { _ in
62
- ctx.resolve(["version": string(MobileAds.shared.versionNumber)])
62
+ ctx.resolve(["version": string(for: MobileAds.shared.versionNumber)])
63
63
  })
64
64
  }
65
65