adDismissed, reward never change their values
eeslamadelll opened this issue · 3 comments
eeslamadelll commented
Description
adDismissed
always false, and reward
always undefined
Expected those values to change
const {adLoaded, adDismissed, reward, adShowing, show} = useRewardedAd(
TestIds.REWARDED,
{
requestOptions: {
requestNonPersonalizedAdsOnly: true,
},
},
);
useEffect(() => {
console.log('rewardrewardrewardrewardss', adDismissed, nameToShow);
if (adDismissed) {
/// do something
}
}, [adDismissed]);
- React Native: 0.66.0
- React Native AdMob: 1.1.0
wjaykim commented
Try version 1.2.1 and feedback me.
eeslamadelll commented
I was on version 1.2.1 and downgraded to 1.1.0 hoping it was working there but found the same behavior
wjaykim commented
Try latest version and reopen issue if it does not work.