Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    1,952
    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