Socket
Socket
Sign inDemoInstall

@capacitor-community/admob

Package Overview
Dependencies
2
Maintainers
42
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

2

package.json
{
"name": "@capacitor-community/admob",
"version": "4.0.0",
"version": "4.1.0",
"description": "A native plugin for AdMob",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

@@ -49,3 +49,3 @@ <p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p>

```
% npm install --save @capacitor-community/admob@next
% npm install --save @capacitor-community/admob@latest
% npx cap update

@@ -57,3 +57,3 @@ ```

```
% npm install --save @capacitor-community/admob
% npm install --save @capacitor-community/admob@3.3.0
% npx cap update

@@ -64,16 +64,2 @@ ```

In file `android/app/src/main/java/**/**/MainActivity.java`, add the plugin to the initialization list:
```java
import android.os.Bundle;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
registerPlugin(com.getcapacitor.community.admob.AdMob.class);
}
}
```
In file `android/app/src/main/AndroidManifest.xml`, add the following XML elements under `<manifest><application>` :

@@ -95,2 +81,8 @@

#### Variables
This plugin will use the following project variables (defined in your app's `variables.gradle` file):
- `$playServicesAdsVersion` version of `com.google.android.gms:play-services-ads` (default: `21.1.0`)
### iOS configuration

@@ -97,0 +89,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc