expo-ads-facebook
Version:
Facebook Audience SDK integration
19 lines (16 loc) • 380 B
text/typescript
import { NativeModulesProxy } from '@unimodules/core';
const {
CTKInterstitialAdManager = {
async showAd() {
return false;
},
},
} = NativeModulesProxy;
export default {
/**
* Shows interstitial ad for a given placementId
*/
async showAd(placementId: string): Promise<boolean> {
return await CTKInterstitialAdManager.showAd(placementId);
},
};