Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity as a Library is not detecting notch / safe areas

Discussion in 'Android' started by lingokids, Mar 24, 2021.

  1. lingokids

    lingokids

    Joined:
    Dec 4, 2014
    Posts:
    4
    Hi!

    We recently migrated our app to Unity as a library with Unity 2020.1.17, and we are noticing that it does not detect safe areas anymore on Android. Screen.safeArea just returns the entire display. It works fine on iOS.

    Is there some special handling that we need to do in the uaal integration for this to work on Android? Have we missed some bit in the examples or the docs that anyone can point us to?

    Thanks in advance.
     
  2. simbaDraco

    simbaDraco

    Joined:
    Oct 16, 2014
    Posts:
    18
    We are also having this problem , did you find a fix?
     
  3. Javier-Lingo

    Javier-Lingo

    Joined:
    Nov 20, 2018
    Posts:
    6