React-native-admob: How to check if Rewarded Video isReady? Like with Interstitial.

Created on 8 Mar 2017  路  3Comments  路  Source: sbugert/react-native-admob

@alvaromb This seems more important with Rewarded Video so you can prompt the user:

"Watch this video to earn _____?"

So you can pre-load the Rewarded Video, but how do you check if it's ready? Interstitial has isReady(): https://github.com/sbugert/react-native-admob#methods

Obviously, you don't want to prompt the user if there is no Rewarded Video available. If you prompt the user every time before requesting and showing the video, and you don't get a Rewarded Video fill, then you just prompted them for no reason.

Most helpful comment

You could access to it through NativeModules.RNAdMobRewarded.isReady() though.

All 3 comments

There's an isReady but I think it's not visible in the js https://github.com/sbugert/react-native-admob/blob/master/ios/RNAdMobRewarded.m#L64

Will try to add it today.

You could access to it through NativeModules.RNAdMobRewarded.isReady() though.

Should be in the doc :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danvass picture danvass  路  6Comments

jonigl picture jonigl  路  4Comments

EpicNem picture EpicNem  路  6Comments

furkancelik picture furkancelik  路  5Comments

lydongray picture lydongray  路  4Comments