New issue
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
RNAdMobRewardedVideoAdModule is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener #316
Comments
+1 |
This has been fixed already in #273 . Are you using the latest version of this library? |
I'm encountering this issue, installing directly from npm, following the installation instructions exactly. Here are my logs:
I should mention:
Thank you for all the hard work you've done, I really appreciate it <3. |
@wbrickner same issue here! have you fixed it?? Anyone please help |
same problem |
3 similar comments
same problem |
same problem |
same problem |
+1 |
I'm having the same issue. |
+1 |
+1 |
1 similar comment
+1 |
Hello , haivng the issue , please help me |
hi guys, if you install the latest version (v2.0.0-beta5) than the bug is gone. |
ok thanks let me try then
On Saturday, 2 March, 2019, 12:16:49 pm IST, Arton Berisha <notifications@github.com> wrote:
hi guys,
if you install the latest version (v2.0.0-beta5) than the bug is gone.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have tried v2.0.0-beta5 But it makes "application has stopped" |
@kaiserleka have you looked at the emulator/device logs? maybe the application-id is wrong or missing? |
@kaiserleka . i was also getting that same issue. but my issue is fixed after i added below statement in |
Thanks man, this saved me hours, |
That PR resolve this problem but it create new one => stop application |
implementation ('com.google.android.gms:play-services-ads:16.+') { force = true; } put in android/app/build.gradle |
Some versions (don't ask which one) of com.google.android.gms.ads.reward.RewardedVideoAdListener requires onRewardedVideoCompleted function. RNAdMobRewardedVideoAdModule class implements that class. If you don't want to manage gms versions you can just create an empty function. I can't find any javascript call to that method anyway. RNAdMobRewardedVideoAdModule.java
If your version of react-native-admob has onRewardedVideoCompleted function and you are getting 'method doesnt override' error, then remove the @OverRide annotation from method. |
It Worked but Now the App is Crashed... |
Hi @Sanan4li please add this ------=>
into android AndroidManifest.xml |
For more information you can visit official link https://developers.google.com/admob/android/quick-start |
Thanks... it worked but having another issue... I think it will be fixed... Thanks a lot. |
can you send me AndroidManifest.xml code |
I updated the comment.. after reinstalling the app it worked.. |
Great |
1 similar comment
Great |
../node_modules/react-native-admob/android/src/main/java/com/sbugert/rnadmob/RNAdMobRewardedVideoAdModule.java:25: error: RNAdMobRewardedVideoAdModule is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
public class RNAdMobRewardedVideoAdModule extends ReactContextBaseJavaModule implements RewardedVideoAdListener {
^
The text was updated successfully, but these errors were encountered: