Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. 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:
    499
    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