Skip to content

Commit

Permalink
docs: updated ios version and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Astrovic committed Mar 4, 2024
1 parent 2416182 commit a77568a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apidoc/Admob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,21 +452,21 @@ methods:
type: Boolean
summary: Check in the IABTCF string if GDPR applies, so if in EEA.
platforms: [iphone, ipad]
since: "2.6.3"
since: "6.3.0"

- name: canShowAds
returns:
type: Boolean
summary: Check in the IABTCF string if user granted at least minimum requirements to show ads.
platforms: [iphone, ipad]
since: "2.6.3"
since: "6.3.0"

- name: canShowPersonalizedAds
returns:
type: Boolean
summary: Check in the IABTCF string if user granted at least minimum requirements to show Personalized ads.
platforms: [iphone, ipad]
since: "2.6.3"
since: "6.3.0"

- name: requestConsentInfoUpdateForPublisherIdentifiers
returns:
Expand Down
13 changes: 12 additions & 1 deletion ios/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,18 @@ Finally you know if you can request AdMob Personalized or Non-Personalized Ads,
var ad = Admob.createView({
// your properties...
extras: { 'npa': "1"}, // npa=1 disables personalized ads
});
});
```

or

```js
import Admob from 'ti.admob';

var ad = Admob.createView({
// your properties...
extras: { 'npa': "1"}, // npa=1 disables personalized ads
});
```

### `requestConsentInfoUpdateWithParameters(args)`
Expand Down

0 comments on commit a77568a

Please sign in to comment.