You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.sbugert.rnadmob.RNAdMobRewardedVideoAdModule$1.run
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
at com.google.android.gms.common.GooglePlayServicesUtilLight.isGooglePlayServicesAvailable (com.google.android.gms:play-services-basement@@18.0.0:5)
at com.google.android.gms.common.GoogleApiAvailabilityLight.isGooglePlayServicesAvailable (com.google.android.gms:play-services-basement@@18.0.0:2)
at com.google.android.gms.internal.ads.zzayd.zzf (com.google.android.gms:play-services-ads-lite@@19.6.0:67)
at com.google.android.gms.internal.ads.zzwp.zzd (com.google.android.gms:play-services-ads-lite@@19.6.0:36)
at com.google.android.gms.internal.ads.zzzj.getRewardedVideoAdInstance (com.google.android.gms:play-services-ads-lite@@19.6.0:63)
at com.google.android.gms.ads.MobileAds.getRewardedVideoAdInstance (com.google.android.gms:play-services-ads-lite@@19.6.0:12)
at com.sbugert.rnadmob.RNAdMobRewardedVideoAdModule$1.run (RNAdMobRewardedVideoAdModule.java:150)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8512)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
The text was updated successfully, but these errors were encountered:
Problem
Based on Play console crashes and ANR data, 2% of my users are having this issue.
This error occurs in the background 87.4% of the time.
I could not observe this error myself.
Looking forward to your help, thanks all.
Project Details
"react-native-admob": "^2.0.0-beta.6",
"react": "17.0.2",
"react-native": "0.66.3",
Crash logs:
The text was updated successfully, but these errors were encountered: