Description

GameActivity.java needs to be updated to show the ad popup window on Android 7.0 devices.

GameActivity.java uses Gravity.BOTTOM or Gravity.TOP to place the ad.

One thing to try would be to edit Engine/Build/Android/Java/src/com/epicgames/ue4/GameActivity.java. Look for:

adPopupWindow.showAtLocation(activityLayout, adGravity, 0, 0);

adPopupWindow.update();

and change it to:

adPopupWindow.showAtLocation(activityLayout, adGravity, 0, 0);

if (ANDROID_BUILD_VERSION != 24) { bq. adPopupWindow.update(); bq. }

Steps to Reproduce

1. Open up Tappy Chicken in 4.14
2. Turn on Android settings in Project Settings > Android
3. Package for Shipping
4. Deploy onto Android 7.0 device (Nexus 9)

Result: Ad banners do not show up correctly in Tappy Chicken
Expected Results: The ad banners should show up after Tappy Chicken level ends.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.14.3
Target Fix4.15.1
Fix Commit3322454
CreatedFeb 24, 2017
ResolvedFeb 24, 2017
UpdatedSep 16, 2019