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

Black Bars at the Top and Bottom of Android Apps [Resolved]

Discussion in 'Android' started by skdev3, Nov 21, 2018.

  1. skdev3

    skdev3

    Joined:
    Jul 15, 2015
    Posts:
    64
    Hi Android Unity community!

    I want to share solutions of two problems on android ( Especially in model Samsung Galaxy ):


    First - with a long bundle name, this bug on issuetracker:
    https://issuetracker.unity3d.com/is...ame-in-the-package-name-starts-with-lowercase

    [Resolved] - shorten the bundle name ( This is magic, but it works )

    Second - with nonworking full screen mode on Android.

    [Resolved] - need added next code to android manifest
    Code (JavaScript):
    1. <meta-data android:name="android.max_aspect" android:value="2.1" />
    Or manually enable:





    P.S. I hope it will be useful )
     
    Tarodev likes this.
  2. Tarodev

    Tarodev

    Joined:
    Jul 30, 2015
    Posts:
    190
    Thanks for this. It worked!
     
  3. PepoX

    PepoX

    Joined:
    Dec 6, 2018
    Posts:
    1
    Can you please reupload the picture, it's not available anymore, and it would help me a lot, thanks!
     
  4. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    515
    Tried to add this to manifest, but didn't help. Seems that happens on Samsung Galaxy devices only.
    Any solution?