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 5.2.0 to 5.3.0

17

dist/esm/definitions.d.ts

@@ -24,2 +24,10 @@ import type { BannerDefinitions } from './banner';

/**
* request requestTrackingAuthorization (iOS >14).
* This is deprecated method. We recommend UMP Consent.
*
* @see https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547038-trackingauthorizationstatus
* @since 5.2.0
*/
requestTrackingAuthorization(): Promise<void>;
/**
* Report application mute state to AdMob SDK

@@ -41,11 +49,4 @@ *

/**
* Use or not requestTrackingAuthorization in iOS(>14)
*
* @see https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/3547037-requesttrackingauthorization?changes=latest_minor
* @since 1.1.2
*/
requestTrackingAuthorization?: boolean;
/**
* An Array of devices IDs that will be marked as tested devices if {@link AdMobInitializationOptions.initializeForTesting} is true
* (Real Ads will be served to Testing devices but they will not count as 'real').
* (Real Ads will be served to Testing devices, but they will not count as 'real').
*

@@ -52,0 +53,0 @@ * @see https://developers.google.com/admob/android/test-ads#enable_test_devices

@@ -10,2 +10,3 @@ import { WebPlugin } from '@capacitor/core';

targetSettings(): Promise<void>;
requestTrackingAuthorization(): Promise<void>;
trackingAuthorizationStatus(): Promise<TrackingAuthorizationStatusInterface>;

@@ -12,0 +13,0 @@ requestConsentInfo(options?: AdmobConsentRequestOptions): Promise<AdmobConsentInfo>;

@@ -16,2 +16,5 @@ import { WebPlugin } from '@capacitor/core';

}
async requestTrackingAuthorization() {
console.log('requestTrackingAuthorization');
}
async trackingAuthorizationStatus() {

@@ -18,0 +21,0 @@ return {

@@ -233,2 +233,5 @@ 'use strict';

}
async requestTrackingAuthorization() {
console.log('requestTrackingAuthorization');
}
async trackingAuthorizationStatus() {

@@ -235,0 +238,0 @@ return {

@@ -230,2 +230,5 @@ var AdMobPlugin = (function (exports, core) {

}
async requestTrackingAuthorization() {
console.log('requestTrackingAuthorization');
}
async trackingAuthorizationStatus() {

@@ -232,0 +235,0 @@ return {

{
"name": "@capacitor-community/admob",
"version": "5.2.0",
"version": "5.3.0",
"description": "A native plugin for AdMob",

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

@@ -299,2 +299,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>

* [`trackingAuthorizationStatus()`](#trackingauthorizationstatus)
* [`requestTrackingAuthorization()`](#requesttrackingauthorization)
* [`setApplicationMuted(...)`](#setapplicationmuted)

@@ -368,2 +369,14 @@ * [`setApplicationVolume(...)`](#setapplicationvolume)

### requestTrackingAuthorization()
```typescript
requestTrackingAuthorization() => Promise<void>
```
request requestTrackingAuthorization (iOS &gt;14).
This is deprecated method. We recommend UMP Consent.
--------------------
### setApplicationMuted(...)

@@ -833,10 +846,9 @@

| Prop | Type | Description |
| ---------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`requestTrackingAuthorization`** | <code>boolean</code> | Use or not requestTrackingAuthorization in iOS(&gt;14) |
| **`testingDevices`** | <code>string[]</code> | An Array of devices IDs that will be marked as tested devices if {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.initializeForTesting</a>} is true (Real Ads will be served to Testing devices but they will not count as 'real'). |
| **`initializeForTesting`** | <code>boolean</code> | If set to true, the devices on {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.testingDevices</a>} will be registered to receive test production ads. |
| **`tagForChildDirectedTreatment`** | <code>boolean</code> | For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called tagForChildDirectedTreatment. |
| **`tagForUnderAgeOfConsent`** | <code>boolean</code> | When using this feature, a Tag For Users under the Age of Consent in Europe (TFUA) parameter will be included in all future ad requests. |
| **`maxAdContentRating`** | <code><a href="#maxadcontentrating">MaxAdContentRating</a></code> | As an app developer, you can indicate whether you want Google to treat your content as child-directed when you make an ad request. |
| Prop | Type | Description |
| ---------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`testingDevices`** | <code>string[]</code> | An Array of devices IDs that will be marked as tested devices if {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.initializeForTesting</a>} is true (Real Ads will be served to Testing devices, but they will not count as 'real'). |
| **`initializeForTesting`** | <code>boolean</code> | If set to true, the devices on {@link <a href="#admobinitializationoptions">AdMobInitializationOptions.testingDevices</a>} will be registered to receive test production ads. |
| **`tagForChildDirectedTreatment`** | <code>boolean</code> | For purposes of the Children's Online Privacy Protection Act (COPPA), there is a setting called tagForChildDirectedTreatment. |
| **`tagForUnderAgeOfConsent`** | <code>boolean</code> | When using this feature, a Tag For Users under the Age of Consent in Europe (TFUA) parameter will be included in all future ad requests. |
| **`maxAdContentRating`** | <code><a href="#maxadcontentrating">MaxAdContentRating</a></code> | As an app developer, you can indicate whether you want Google to treat your content as child-directed when you make an ad request. |

@@ -843,0 +855,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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