ammarahm-ed / react-native-admob-native-ads

A simple and robust library for creating & displaying Admob Native Advanced Ads in your React Native App using Native Views.
https://ammarahm-ed.github.io/react-native-admob-native-ads/docs/introduction/
MIT License
405 stars 135 forks source link

Error While Opening ad in Android for React Native New architecture #375

Closed Bhavya-Makadia closed 1 month ago

Bhavya-Makadia commented 3 months ago

After enabling the new architecture and adding the package to interops layer, the android app got built but when I tried to load the ad it is throwing errors "dispatchCommand called without surfaceld - Fabric dispatchCommand must be called through Fabric JSI API " or else this " Exception in HostFunction: com.facebook.react.bridge.UnexpectedNativeTypeException: expected Array, got a null"

And for IOS I am getting "Linker command failed with exit code 1 (use -v to see invocation)" RN version : 0.73.6

Screenshot 2024-07-02 at 12 48 26 PM Screenshot 2024-07-01 at 7 47 42 PM
ammarahm-ed commented 1 month ago

New arch is not supported.