fbsamples / audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
https://developers.facebook.com/docs/audience-network
Other
319 stars 370 forks source link

NativeAd not clickable in UITableView #105

Closed neobie closed 3 years ago

neobie commented 4 years ago

The NativeAd displaying correctly, and registerViewForInteraction is implemented. But, the ad is just not clickable. Only Adchoice react to the tap.

Try everything I can but still no luck.

It is working for iOS SDK v4.28.1

After upgrading to v4.99.3 - v5.4.0, nothing works.

[nativeAd registerViewForInteraction:cell mediaView:cell.adCoverMediaView iconView:cell.adIconView viewController:self clickableViews:@[cell.adIconView, cell.adBodyLabel, cell.adTitleLabel] ];

[nativeAd registerViewForInteraction:cell mediaView:cell.adCoverMediaView iconView:cell.adIconView viewController:self]

neobie commented 4 years ago

It doesn't work in Android ListView too. Seems like new SDK registerViewForInteraction method has some problem ?

martarodriguezm commented 4 years ago

Same problem here, any update?

daniel-huri commented 3 years ago

Please update to the latest SDK version and report back if the issue still is happening. Closing for now as it seems to be a stale thread.