You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { AdSettings } from 'react-native-fbads';
let hash = AdSettings.currentDeviceHash;
AdSettings.addTestDevice(hash); // i also used string from console too
Usage:
import { InterstitialAdManager } from 'react-native-fbads';
InterstitialAdManager.showAd(placementId) // i tried this format TEST_AD_TYPE#YOUR_PLACEMENT_ID
.then((didClick) => console.log(didClick))
.catch((error) => console.log(error));
I dont know why i getting this error.
AdSetting:
I use this in my startup file (index.js)
Usage:
import { InterstitialAdManager } from 'react-native-fbads';
Packages:
I also tried this dependency in gradle file:
implementation 'com.facebook.android:audience-network-sdk:6.8.0'
The text was updated successfully, but these errors were encountered: