cordova-plugin-facebookads
cordova-plugin-facebookads copied to clipboard
[Android] Native add adds a clickable corner on the top left in addtion to the specified clickarea
As in the title, when I do something like:
window.FacebookAds.setNativeAdClickArea(adId, x, y, w, h);
The ad has the clickable area set in the correct way. The problem is that, in addition to this area, a clickable corner on the top left of the screen is added too. This makes my app unusable. This has been tried on two different devices. This behaviour was not shown in the previous version of the plugin, but scrolling was not working.
Confirmed, by reverting 22aef7a2e50326f3b7043848162bf16df4283db6 the issue is solved, but unfortunately scrolling does not work anymore.
The following change seems to fix the issue: <-- layout.addView(unit.tracking, new RelativeLayout.LayoutParams(unit.w, unit.h)); --> layout.addView(unit.tracking, new RelativeLayout.LayoutParams(0, 0));
I am facing the same issue. The additional clickable area is layed ou above my menu button. Setting the tracking view h & w to 0 does nothing, the area is still there!
Any help would be much appreciated. Thx
@BENADIL Try to use my fork and see if the issue goes away https://github.com/andreacimino/cordova-plugin-facebookads
will try it. Thanx
On Sun, Aug 28, 2016 at 11:55 AM, andreacimino [email protected] wrote:
@BENADIL https://github.com/BENADIL Try to use my fork and see if the issue goes away https://github.com/andreacimino/cordova-plugin-facebookads
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/floatinghotpot/cordova-plugin-facebookads/issues/32#issuecomment-242968441, or mute the thread https://github.com/notifications/unsubscribe-auth/ATw2gPM_rLYcAm4-z7S_T_mP0QX5zLypks5qkWkvgaJpZM4HmRjw .
Am having same issue. Everything works so nice, but then that top left corner patch appears :-(
the clickarea appears on top of any other div. Any idea how can this be solved?