react-native-admob-native-ads
react-native-admob-native-ads copied to clipboard
Panresponder gestures are not working
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.
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