adDismissed, reward never change their values
eeslamadelll opened this issue · comments
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
Try version 1.2.1 and feedback me.
I was on version 1.2.1 and downgraded to 1.1.0 hoping it was working there but found the same behavior
Try latest version and reopen issue if it does not work.