cordova-plugin-admob-nextgen 1.0.6 → 1.0.7

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-plugin-admob-nextgen",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Google Mobile Ads Next Gen SDK for Cordova. High performance and modular architecture. ",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-admob-nextgen",
package/plugin.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
2
  <plugin id="cordova-plugin-admob-nextgen"
3
- version="1.0.6"
3
+ version="1.0.7"
4
4
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
5
5
  xmlns:android="http://schemas.android.com/apk/res/android">
6
6
 
@@ -171,10 +171,6 @@ public class AppOpenAdExecutor {
171
171
  appOpenAd = null;
172
172
  isShowingAd = false;
173
173
  fireEvent("on.appopen.dismissed", null);
174
-
175
- if (currentAdUnitId != null) {
176
- loadAdInternal(currentAdUnitId, null);
177
- }
178
174
  }
179
175
 
180
176
  @Override
@@ -146,10 +146,6 @@
146
146
  if (![self isAdAvailable]) {
147
147
  NSString *jsonStr = @"{\"message\":\"Ad not ready or expired\"}";
148
148
  [self.plugin fireEvent:@"document" event:@"on.appopen.failed.show" withData:jsonStr];
149
-
150
- if (self.currentAdUnitId) {
151
- [self loadAdInternal:self.currentAdUnitId command:nil];
152
- }
153
149
  return;
154
150
  }
155
151
 
@@ -199,10 +195,6 @@
199
195
 
200
196
  NSString *jsonStr = [NSString stringWithFormat:@"{\"code\":%ld, \"message\":\"%@\"}", (long)error.code, error.localizedDescription];
201
197
  [self.plugin fireEvent:@"document" event:@"on.appopen.failed.show" withData:jsonStr];
202
-
203
- if (self.currentAdUnitId) {
204
- [self loadAdInternal:self.currentAdUnitId command:nil];
205
- }
206
198
  }
207
199
 
208
200
  @end