Closed pradhyumansinh9849 closed 1 month ago
Everybody is stuck here but there is no solution. If anyone has idea about how to solve it please spare some time. #372
Following fixed for me:
Change build.gradle line 56 from :
implementation "com.google.android.gms:play-services-ads:${safeExtGet('googlePlayServicesAdsVersion', '20.+')}"
to
implementation "com.google.android.gms:play-services-ads:${safeExtGet('googlePlayServicesAdsVersion', '23.+')}"
for me fixed that issue is comment these lines in if (config.hasKey("requestNonPersonalizedAdsOnly")) { // Utils.setRequestNonPersonalizedAdsOnly(config.getBoolean("requestNonPersonalizedAdsOnly"), adRequest); } in node modules -> react native admob native ads ->RNAdMobUnifiedAdQueueWrapper.java public void setRequestNonPersonalizedAdsOnly(boolean npa) { // Utils.setRequestNonPersonalizedAdsOnly(npa, adRequest);
}comment these line in node modules -> react native admob native ads ->RNAdMobNativeView.java
Fixed in v0.7.2
same issue