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
1. Inside the screen where I want to display this ad :
import { InterstitialAdManager, AdSettings, NativeAdsManager } from 'react-native-fbads';
import { MyNativeAd } from 'components/NativeBanner';
...
let nativeAdsManager: NativeAdsManager = new NativeAdsManager(PLACEMENT_ID);
...
export const Myscreen = () => {
<View>
<MyNativeAd adsManager={nativeAdsManager} nativeAd={???????} />
</View>
}
As you can see in the code above, I must provide a nativeAd property to the MyNativeAd component.
Expected Behaviour
The created component should ask only for adsManager property, however it asks for nativeAd also, which is deferent from what the documentation shows.
The text was updated successfully, but these errors were encountered:
Bug Report
Before opening
Ad Modules
Native Ads
Platforms
Android
Versions
Current Behaviour
1. I created a file for the component :
1. Inside the screen where I want to display this ad :
As you can see in the code above, I must provide a nativeAd property to the MyNativeAd component.
Expected Behaviour
The created component should ask only for
adsManager
property, however it asks fornativeAd
also, which is deferent from what the documentation shows.The text was updated successfully, but these errors were encountered: