@capacitor-community/admob
Advanced tools
Comparing version 3.0.0-1 to 3.0.0-2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
166417
446
+ Added@capacitor/core@3.0.0-beta.3(transitive)
- Removed@capacitor/core@3.0.0-beta.2(transitive)
Updated@capacitor/core@3.0.0-beta.3