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
Following the update instructions for react native 0.77, and after upgrading to google-mobile-ads 14.8.1, build fail on android.
Fails in two files :
private val delegate: ViewManagerDelegate<ReactNativeGoogleMobileAdsMediaView> = RNGoogleMobileAdsMediaViewManagerDelegate(this)
e: file:///xxx/node_modules/react-native-google-mobile-ads/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsMediaViewManager.kt:34:126 Argument type mismatch: actual type is 'io.invertase.googlemobileads.ReactNativeGoogleMobileAdsMediaViewManager', but 'U!' was expected.
and:
private val delegate: ViewManagerDelegate<ReactNativeGoogleMobileAdsNativeAdView> = RNGoogleMobileAdsNativeViewManagerDelegate(this)
e: file:///xxx/node_modules/react-native-google-mobile-ads/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsNativeAdViewManager.kt:36:130 Argument type mismatch: actual type is 'io.invertase.googlemobileads.ReactNativeGoogleMobileAdsNativeAdViewManager', but 'U!' was expected.
It looks like BaseViewManagerInterface was removed here facebook/react-native@7fb3d83. This interface is used by the RNGoogleMobileAdsMediaViewManagerDelegate.
What happened?
Following the update instructions for react native 0.77, and after upgrading to google-mobile-ads 14.8.1, build fail on android.
Fails in two files :
and:
Platforms
Only on Android
React Native Info
Are your using Typescript?
package.json
app.json
ios/Podfile
android/build.gradle
android/app/build.gradle
android/settings.gradle
AndroidManifest.xml
The text was updated successfully, but these errors were encountered: