Closed nannish closed 1 month ago
I'm having a similar issue too. Given a normal <View />
component, the solution might be to set pointerEvents to "box-none"
like so <NativeAdView pointerEvents="box-none" ... />
. box-none
means that the parent component does not handle touch events but it's children can, like the <CallToActionView />
would need to do.
I don't think this is available. @ammarahm-ed - might there be a way to add the pointerEvents
prop to the NativeAdView?
See StackOverflow - Is there a way in which I can ignore touch events on Text in React Native? for more info on the issues.
Maybe extending ReactViewGroup
instead of LinearLayout
in the NativeAdView could help with this? @ammarahm-ed
Provide a reproducible example.
Was this solved? I am having a similar issue with react-native-deck-swiper, where on android i am unable to swipe the NativeAdView with deck swiper. But works on iOS.
Maybe extending
ReactViewGroup
instead ofLinearLayout
in the NativeAdView could help with this? @ammarahm-ed
did you try ReactViewGroup?
I have a panresponder where i use interpolate to animate the view with multiple items. in between the items, i am loading the native ad using react-native-admob-native-ads package. ads are loading but my gestures are no longer working once the NativeAdView is loaded. Kindly suggest if there is any work around for this.