3
e: /node_modules/react-native-google-mobile-ads/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsAdHelper.kt: (76, 33): Type mismatch: inferred type is RewardItem? but RewardItem was expected

someone know how fix this issue?

mc-user
  • 1,769
  • 4
  • 14
  • 25

1 Answers1

1

Your variable can be undefined. You can see that with the ? at the end of RewardItem?. You must probably deal with the case before calling admob method.

Raphael Pr
  • 896
  • 10
  • 28