Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor-community/admob

Package Overview
Dependencies
Maintainers
26
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/admob - npm Package Compare versions

Comparing version 3.0.0-1 to 3.0.0-2

10

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

@@ -43,6 +43,6 @@ "main": "dist/plugin.cjs.js",

"devDependencies": {
"@capacitor/android": "3.0.0-beta.2",
"@capacitor/core": "3.0.0-beta.2",
"@capacitor/android": "3.0.0-beta.3",
"@capacitor/cli": "3.0.0-beta.3",
"@capacitor/docgen": "^0.0.10",
"@capacitor/ios": "3.0.0-beta.2",
"@capacitor/ios": "3.0.0-beta.3",
"@ionic/eslint-config": "^0.3.0",

@@ -61,3 +61,3 @@ "@ionic/prettier-config": "^1.0.1",

"dependencies": {
"@capacitor/core": "3.0.0-beta.2"
"@capacitor/core": "3.0.0-beta.3"
},

@@ -64,0 +64,0 @@ "prettier": "@ionic/prettier-config",

@@ -6,2 +6,5 @@ [![npm version](https://badge.fury.io/js/%40capacitor-community%2Fadmob.svg)](https://badge.fury.io/js/%40capacitor-community%2Fadmob)

# ✅ Please check
This is development README for Capacitor v3. If you use v1 or v2, please check [./README_v2.md](README_v2.md)
# @capacitor-community/admob

@@ -21,3 +24,3 @@

[Demo code is here.](https://github.com/capacitor-community/admob/tree/master/demo)
[Demo code is here.](https://github.com/capacitor-community/admob/tree/feat/v3/demo)

@@ -33,16 +36,7 @@ ### Screenshots

**Supporting iOS14 is be since @1.1.0.**
```
% npm install --save @capacitor-community/admob
% npm install --save @capacitor-community/admob@next
% npx cap update
```
### If you use Capacitor 1.x
```
% npm install --save @rdlabo/capacitor-admob@0.3.0
% npx cap update
```
## Android configuration

@@ -53,7 +47,9 @@

```java
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
[...]
add(com.getcapacitor.community.admob.AdMob.class);
[...]
}});
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
registerPlugin(com.getcapacitor.community.admob.AdMob.class);
}
}
```

@@ -112,4 +108,3 @@

```ts
import { Plugins } from '@capacitor/core';
const { AdMob } = Plugins;
import { AdMob } from '@capacitor-community/admob';

@@ -140,5 +135,3 @@ @Component({

import { Plugins } from '@capacitor/core';
import { AdOptions, AdSize, AdPosition } from '@capacitor-community/admob';
const { AdMob } = Plugins;
import { AdMob, AdOptions, AdSize, AdPosition } from '@capacitor-community/admob';

@@ -198,5 +191,3 @@ const App: React.FC = () => {

```ts
import { Plugins } from '@capacitor/core';
import { AdOptions, AdSize, AdPosition } from '@capacitor-community/admob';
const { AdMob } = Plugins;
import { AdMob, AdOptions, AdSize, AdPosition } from '@capacitor-community/admob';

@@ -273,5 +264,3 @@ @Component({

```ts
import { Plugins } from '@capacitor/core';
import { AdOptions } from '@capacitor-community/admob';
const { AdMob } = Plugins;
import { AdMob, AdOptions } from '@capacitor-community/admob';

@@ -325,5 +314,3 @@ @Component({

```ts
import { Plugins } from '@capacitor/core';
import { AdOptions } from '@capacitor-community/admob';
const { AdMob } = Plugins;
import { AdMob, AdOptions } from '@capacitor-community/admob';

@@ -330,0 +317,0 @@ @Component({

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc