cordova-plugin-admob-nextgen 1.0.5 → 1.0.6
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 +3 -1
- package/package.json +1 -1
- package/plugin.xml +1 -2
- package/src/android/AppOpenAdExecutor.java +0 -4
- package/src/ios/AppOpenAdExecutor.m +0 -4
package/README.md
CHANGED
|
@@ -87,8 +87,10 @@ Add this to your `config.xml` to restore the plugin automatically.
|
|
|
87
87
|
</plugin>
|
|
88
88
|
|
|
89
89
|
|
|
90
|
+
## Supporting Mediation: **[⚡ admob-mediation-suite ](https://github.com/swaplab-engine/admob-mediation-suite)** (Optional)
|
|
91
|
+
|
|
90
92
|
## For Capacitor users
|
|
91
|
-
**[⚡ Capacitor Integration: Automated Setup for AdMob Next Gen ](https://github.com/swaplab-engine/cordova-plugin-admob-nextgen/discussions/
|
|
93
|
+
**[⚡ Capacitor Integration: Automated Setup for AdMob Next Gen ](https://github.com/swaplab-engine/cordova-plugin-admob-nextgen/discussions/3)**.
|
|
92
94
|
|
|
93
95
|
**[⚡ AdMob Next Gen - Starter Templates 🚀 ](https://github.com/swaplab-engine/cordova-plugin-admob-nextgen-template)**.
|
|
94
96
|
|
package/package.json
CHANGED
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.
|
|
3
|
+
version="1.0.6"
|
|
4
4
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
5
5
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
6
6
|
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
<config-file parent="/*" target="AndroidManifest.xml">
|
|
28
28
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
29
|
-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
30
29
|
</config-file>
|
|
31
30
|
|
|
32
31
|
<framework src="src/android/hooks/admob-nextgen.gradle" custom="true" type="gradleReference" />
|
|
@@ -187,10 +187,6 @@ public class AppOpenAdExecutor {
|
|
|
187
187
|
errData.put("message", error.getMessage());
|
|
188
188
|
fireEvent("on.appopen.failed.show", errData);
|
|
189
189
|
} catch (JSONException e) {}
|
|
190
|
-
|
|
191
|
-
if (currentAdUnitId != null) {
|
|
192
|
-
loadAdInternal(currentAdUnitId, null);
|
|
193
|
-
}
|
|
194
190
|
}
|
|
195
191
|
|
|
196
192
|
@Override
|
|
@@ -191,10 +191,6 @@
|
|
|
191
191
|
self.appOpenAd = nil;
|
|
192
192
|
self.isShowingAd = NO;
|
|
193
193
|
[self.plugin fireEvent:@"document" event:@"on.appopen.dismissed" withData:nil];
|
|
194
|
-
|
|
195
|
-
if (self.currentAdUnitId) {
|
|
196
|
-
[self loadAdInternal:self.currentAdUnitId command:nil];
|
|
197
|
-
}
|
|
198
194
|
}
|
|
199
195
|
|
|
200
196
|
- (void)ad:(id<GADFullScreenPresentingAd>)ad didFailToPresentFullScreenContentWithError:(NSError *)error {
|