docs(): fix options for prepareInterstitial (#1535)

Using the example in the previous version of this document, calling prepareInterstitial(adId) resulted in an
"-[__NSCFString count]: unrecognized selector sent to instance"
exception. This was alleviated by changing the call to prepareInterstitial({adId: adId}) 
(e.g. passing in an options object vs. just the adid string)
This commit is contained in:
Eamon Bauman 2017-05-12 03:16:48 -05:00 committed by Ibby Hadeed
parent 00c156811f
commit 7f919d5c90

View File

@ -112,7 +112,7 @@ export interface AdExtras {
* } else if (this.platform.is('ios')) {
* adId = 'YOUR_ADID_IOS';
* }
* this.admob.prepareInterstitial(adId)
* this.admob.prepareInterstitial({adId: adId})
* .then(() => { this.admob.showInterstitial(); });
* }
*