{"id":13786418,"url":"https://github.com/Over17/UnityShowAndroidStatusBar","last_synced_at":"2025-05-11T22:31:14.068Z","repository":{"id":85001050,"uuid":"55860855","full_name":"Over17/UnityShowAndroidStatusBar","owner":"Over17","description":"Show Android status bar for applications built with Unity 5.3 and later","archived":false,"fork":false,"pushed_at":"2018-10-05T13:52:51.000Z","size":84,"stargazers_count":148,"open_issues_count":5,"forks_count":35,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-07-14T14:31:12.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Over17.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-04-09T18:35:07.000Z","updated_at":"2024-06-30T01:50:40.000Z","dependencies_parsed_at":"2023-03-02T21:01:15.855Z","dependency_job_id":null,"html_url":"https://github.com/Over17/UnityShowAndroidStatusBar","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over17%2FUnityShowAndroidStatusBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over17%2FUnityShowAndroidStatusBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over17%2FUnityShowAndroidStatusBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Over17%2FUnityShowAndroidStatusBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Over17","download_url":"https://codeload.github.com/Over17/UnityShowAndroidStatusBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213845522,"owners_count":15646789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T19:01:15.417Z","updated_at":"2024-08-03T19:06:08.203Z","avatar_url":"https://github.com/Over17.png","language":"Java","readme":"# UnityShowAndroidStatusBar\nSince Unity 5.3, there's no more option to enable the status bar for Android builds. However, if you are building a non-fullscreen non-immersive application with Unity and want to keep the status bar, you may want to use this plugin.\n\n## Effect\nFor KitKat (Android 4.4) and later, where the immersive fullscreen mode is available, status bar is shown only when the immersive mode is off, so you have to set Screen.fullScreen to false in your scripts.  \nFor JellyBean (Android 4.3) and earlier, when fullScreen is set to true, \"lights out\" mode is enabled - navigation and status bar are shown but dimmed. When fullScreen is set to false, full navigation and status bar are shown.  \nBy default fullScreen is set to true in Unity.  \nThis plugin also enables translucent status and navigation bars on KitKat (Android 4.4) and later versions by default. Follow the instructions in **Usage** to make them opaque.\n\n## Usage\n0.\tWorks with Unity 5.3+\n1.\tAdd the plugin to your project. You need the manifest and the AAR (Assets/Plugins/Android/AndroidManifest.xml and Assets/Plugins/Android/unityShowAndroidStatusBar.aar)\n2.\tPlease pay attention to the manifest - you may want to use the one provided here or, if you have your own base manifest, please make sure to use `com.unity3d.nostatusbar.UnityPlayerActivityStatusBar` activity as the MAIN/LAUNCHER one\n3.\tIf you don't want the status and navigation bars to be translucent, change the theme in manifest from `UnityTransparentStatusBarTheme` to `UnityStatusBarTheme`\n4.\tAdd `Screen.fullScreen = false;` to your `Start()` method if you want the status bar shown on KitKat+ devices\n5.\tEnjoy\n\n## How to Build\n0. Put Unity's classes.jar into src/UnityShowAndroidStatusBar/libs/\n1. Run `gradlew assemble` from src/UnityShowAndroidStatusBar/\n\n## See Also\nPlease refer to Google documentation for more details: https://developer.android.com/training/system-ui/index.html\n","funding_links":[],"categories":["Android"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOver17%2FUnityShowAndroidStatusBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOver17%2FUnityShowAndroidStatusBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOver17%2FUnityShowAndroidStatusBar/lists"}