Closed bilal-prog closed 1 year ago
That looks like a Podfile from an unsupported version of react-native - I'm not used to seeing all that stuff in there. Does this still reproduce on current versions ?
https://github.com/reactwg/react-native-releases/#releases-support-policy
Also you don't mention make / model of the device you are testing on, plus this line is not necessary I think, the module should bring it in for you:
implementation 'com.google.android.gms:play-services-ads:21.3.0'
I'm testing on android
Yes you are right my react native version is unsupported
@panktiszluck a second threadjack! You are cross-posting this. Please do not do that. Also, your react-native is old enough it is out of support https://github.com/reactwg/react-native-releases#releases-support-policy
@bilal-prog is your reward ad is working?
Hello ๐, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
RewardedAd.show() The requested RewardedAd has not loaded and could not be shown.[๐] Bug Report Title - CHANGE ME #291 this above issue is still not working rewardedAd are not displaying
RewardedAd.show() The requested RewardedAd has not loaded and could not be shown.[๐] Bug Report Title - CHANGE ME #291 this above issue is still not working rewardedAd are not displaying
i am facing same issue too any luck?
Hello ๐, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Anyone can please share the code for showing multiple ads with click of a button I am having the same issue first ad lodes perfectly but other ads not loading and while calling shows my app is crashing
What happened?
import React, {useEffect, useState} from 'react'; import { View, FlatList, Text, TouchableOpacity, BackHandler, } from 'react-native'; import {Actions} from 'react-native-router-flux'; import AutoHeightImage from 'react-native-auto-height-image'; import { RewardedAd, RewardedAdEventType, TestIds, } from 'react-native-google-mobile-ads'; import styles from './style'; import Footer from 'components/Footer'; import Item from './Item';
const Notifications = props => { const {fetching} = props.notifications; const params = {top: 10, first: 0}; const [state, setState] = useState({ data: [], filter: 'all', query: '', countLocal: 0, load: false, });
const adUnitId = TestIds.REWARDED;
const rewarded = RewardedAd.createForAdRequest(adUnitId, { requestNonPersonalizedAdsOnly: true, keywords: ['fashion', 'clothing'], });
useEffect(() => { const willBlurListener = props.navigation.addListener('didFocus', () => { const {count} = props.notifications; props.actions.setCountNotificatons(count); onRefresh(); });
}, []);
const handleBackHandler = () => { try { Actions.pop(); return true; } catch { return false; } };
return (
); };
export default Notifications; `
Platforms
Android and iOS
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
android/app/build.gradle
android/settings.gradle
AndroidManifest.xml