cordova-plugin-facebookads icon indicating copy to clipboard operation
cordova-plugin-facebookads copied to clipboard

[Android] Native add adds a clickable corner on the top left in addtion to the specified clickarea

Open andreacimino opened this issue 9 years ago • 7 comments

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.

andreacimino avatar Mar 01 '16 09:03 andreacimino

Confirmed, by reverting 22aef7a2e50326f3b7043848162bf16df4283db6 the issue is solved, but unfortunately scrolling does not work anymore.

andreacimino avatar Mar 01 '16 11:03 andreacimino

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));

andreacimino avatar Mar 01 '16 14:03 andreacimino

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

adbek avatar Aug 28 '16 07:08 adbek

@BENADIL Try to use my fork and see if the issue goes away https://github.com/andreacimino/cordova-plugin-facebookads

andreacimino avatar Aug 28 '16 10:08 andreacimino

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 .

adbek avatar Aug 28 '16 14:08 adbek

Am having same issue. Everything works so nice, but then that top left corner patch appears :-(

technotip avatar Dec 28 '16 15:12 technotip

the clickarea appears on top of any other div. Any idea how can this be solved?

charlizesmith avatar Aug 21 '17 12:08 charlizesmith