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. }
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.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.14.3 |
Target Fix | 4.15.1 |
Fix Commit | 3322454 |
---|
Created | Feb 24, 2017 |
---|---|
Resolved | Feb 24, 2017 |
Updated | Sep 16, 2019 |