Skip to content

Commit

Permalink
fix: android build error 'onAdLoaded' overrides nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickBruening authored and mikehardy committed Apr 3, 2024
1 parent 8dd5b93 commit bd52c12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ abstract class ReactNativeGoogleMobileAdsFullScreenAdModule<T>(
private val adUnitId: String,
private val adRequestOptions: ReadableMap
) : AdLoadCallback<T>() {
override fun onAdLoaded(ad: T) {
override fun onAdLoaded(ad: T & Any) {
try {
val adHelper = ReactNativeGoogleMobileAdsAdHelper(ad)
var eventType = ReactNativeGoogleMobileAdsEvent.GOOGLE_MOBILE_ADS_EVENT_LOADED
Expand Down

0 comments on commit bd52c12

Please sign in to comment.