We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before opening
Ad Modules
SyntheticEvent {dispatchConfig: {…}, _targetInst: FiberNode, _dispatchInstances: FiberNode, nativeEvent: {…}, _dispatchListeners: ƒ, …}
Error: No fill
Platforms
Versions
Ads Environment
Current Behaviour
Expected Behaviour
We want to show ads in our app Banner Ads and Interstitial Ads.
Steps to Reproduce
import { useEffect } from 'react'; import {Dimensions, StyleSheet, View} from 'react-native'; import { InterstitialAdManager } from 'react-native-fbads';
const { width, height } = Dimensions.get('window'); const bannerAdPlacementId = '493228982692200_508720054476426' const interstitialAdPlacementId = '493228982692200_508746657807099'
const App = () => {
useEffect(() => { InterstitialAdManager.showAd(interstitialAdPlacementId) .then((didClick) => { }) .catch((error) => { console.log('error in initialize', error) }); }, [])
return ( <BannerView placementId={bannerAdPlacementId} type="standard" onPress={() => console.log('click')} onLoad={() => console.log('loaded')} onError={(err) => console.log('error', err)} />
</View>
); };
const styles = StyleSheet.create({ container: { height, width, backgroundColor: 'silver' } });
export default App;
Additionals
The text was updated successfully, but these errors were encountered:
@gulsher7 have you managed to resolve it?
Sorry, something went wrong.
No branches or pull requests
Bug Report
Before opening
Ad Modules
SyntheticEvent {dispatchConfig: {…}, _targetInst: FiberNode, _dispatchInstances: FiberNode, nativeEvent: {…}, _dispatchListeners: ƒ, …}
Error: No fill
Platforms
Versions
Ads Environment
Current Behaviour
Expected Behaviour
We want to show ads in our app Banner Ads and Interstitial Ads.
Steps to Reproduce
import { useEffect } from 'react';
import {Dimensions, StyleSheet, View} from 'react-native';
import { InterstitialAdManager } from 'react-native-fbads';
const { width, height } = Dimensions.get('window');
const bannerAdPlacementId = '493228982692200_508720054476426'
const interstitialAdPlacementId = '493228982692200_508746657807099'
const App = () => {
useEffect(() => {
InterstitialAdManager.showAd(interstitialAdPlacementId)
.then((didClick) => { })
.catch((error) => {
console.log('error in initialize', error)
});
}, [])
return (
<BannerView
placementId={bannerAdPlacementId}
type="standard"
onPress={() => console.log('click')}
onLoad={() => console.log('loaded')}
onError={(err) => console.log('error', err)}
/>
);
};
const styles = StyleSheet.create({
container: {
height,
width,
backgroundColor: 'silver'
}
});
export default App;
Additionals
The text was updated successfully, but these errors were encountered: