Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Only fullscreen activities can request orientation

Discussion in 'Scripting' started by AsadMehmoodLogicon, Nov 23, 2017.

  1. AsadMehmoodLogicon

    AsadMehmoodLogicon

    Joined:
    Dec 29, 2016
    Posts:
    10
    I am making game and using asset "very simple ads"
    everything is working fine on all devices except on Android "Oreo"
    When Ever I request Android Interstitial ad it says this
    I tried each and every things that came to my mind but issue is still there

    Here is my manifest

    These Lines in manifest I used for Chartboost
    Please Help me with my issue it's so annoying

    I am using unity 5.6
     
  2. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    515
    Are you still having the issue?
     
  3. omar_mahmoud120

    omar_mahmoud120

    Joined:
    Feb 7, 2018
    Posts:
    1
    try to add this in your manifest

    <activity
    android:name="com.google.android.gms.ads.AdActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    tools:replace="android:theme"
    />
     
  4. AsadMehmoodLogicon

    AsadMehmoodLogicon

    Joined:
    Dec 29, 2016
    Posts:
    10
    I Resolved it by setting up my target sdk to 23 for android and it work like a charm