@capacitor-community/admob
Advanced tools
Comparing version 3.2.0 to 3.3.0-0
@@ -238,3 +238,3 @@ var AdMobPlugin = (function (exports, core) { | ||
}({}, capacitorExports)); | ||
})({}, capacitorExports); | ||
//# sourceMappingURL=plugin.js.map |
{ | ||
"name": "@capacitor-community/admob", | ||
"version": "3.2.0", | ||
"version": "3.3.0-0", | ||
"description": "A native plugin for AdMob", | ||
@@ -40,3 +40,3 @@ "main": "dist/plugin.cjs.js", | ||
"prepublishOnly": "npm run build", | ||
"release": "np" | ||
"release": "np --no-tests" | ||
}, | ||
@@ -73,3 +73,2 @@ "devDependencies": { | ||
"*.{ts}": [ | ||
"npm run eslint -- --fix", | ||
"npm run prettier -- --write", | ||
@@ -76,0 +75,0 @@ "git add" |
@@ -9,3 +9,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> | ||
<p align="center"> | ||
<img src="https://img.shields.io/maintenance/yes/2021?style=flat-square" /> | ||
<img src="https://img.shields.io/maintenance/yes/2022?style=flat-square" /> | ||
<!-- <a href="https://github.com/capacitor-community/example/actions?query=workflow%3A%22CI%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/example/CI?style=flat-square" /></a> --> | ||
@@ -16,5 +16,2 @@ <a href="https://www.npmjs.com/package/@capacitor-community/admob"><img src="https://img.shields.io/npm/l/@capacitor-community/admob?style=flat-square" /></a> | ||
<a href="https://www.npmjs.com/package/@capacitor-community/admob"><img src="https://img.shields.io/npm/v/@capacitor-community/admob?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
<a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-7-orange?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
</p> | ||
@@ -31,2 +28,9 @@ | ||
## Contributors ✨ | ||
<a href="https://github.com/capacitor-community/admob/graphs/contributors"> | ||
<img src="https://contrib.rocks/image?repo=capacitor-community/admob" /> | ||
</a> | ||
Made with [contributors-img](https://contrib.rocks). | ||
## Demo | ||
@@ -110,2 +114,17 @@ | ||
export async function initialize(): Promise<void> { | ||
const { status } = await AdMob.trackingAuthorizationStatus(); | ||
if (status === 'notDetermined') { | ||
/** | ||
* If you want to explain TrackingAuthorization before showing the iOS dialog, | ||
* you can show the modal here. | ||
* ex) | ||
* const modal = await this.modalCtrl.create({ | ||
* component: RequestTrackingPage, | ||
* }); | ||
* await modal.present(); | ||
* await modal.onDidDismiss(); // Wait for close modal | ||
**/ | ||
} | ||
AdMob.initialize({ | ||
@@ -883,27 +902,1 @@ requestTrackingAuthorization: true, | ||
Capacitor AdMob is [MIT licensed](./LICENSE). | ||
## Contributors ✨ | ||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"><a href="https://wako.app"><img src="https://avatars1.githubusercontent.com/u/216573?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jean-Baptiste Malatrasi</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=JumBay" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/gant02"><img src="https://avatars1.githubusercontent.com/u/6771123?v=4?s=100" width="100px;" alt=""/><br /><sub><b>gant02</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=gant02" title="Code">💻</a></td> | ||
<td align="center"><a href="https://www.saninnsalas.com"><img src="https://avatars1.githubusercontent.com/u/5490201?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Saninn Salas Diaz</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=distante" title="Code">💻</a></td> | ||
<td align="center"><a href="https://www.nicolueg.com"><img src="https://avatars.githubusercontent.com/u/48101693?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nico Lueg</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=NLueg" title="Code">💻</a></td> | ||
<td align="center"><a href="https://www.linkedin.com/in/ghonche-yqr-21774b114/"><img src="https://avatars.githubusercontent.com/u/25591295?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ghonche Yqr</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=ghonche-yqr" title="Documentation">📖</a></td> | ||
<td align="center"><a href="https://github.com/vanessag"><img src="https://avatars.githubusercontent.com/u/4007550?v=4?s=100" width="100px;" alt=""/><br /><sub><b>vanessag</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=vanessag" title="Code">💻</a></td> | ||
<td align="center"><a href="https://mattmilan.dev/"><img src="https://avatars.githubusercontent.com/u/49694881?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matt Milan</b></sub></a><br /><a href="https://github.com/capacitor-community/admob/commits?author=mattmilan-dev" title="Code">💻</a></td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-restore --> | ||
<!-- prettier-ignore-end --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
256406
120
2
898