{"id":24208655,"url":"https://github.com/squareetlabs/capacitor-navigation-bar","last_synced_at":"2026-04-17T08:31:36.038Z","repository":{"id":240244215,"uuid":"798845240","full_name":"squareetlabs/capacitor-navigation-bar","owner":"squareetlabs","description":"Capacitor Plugin allows control of the navigation bar on Android devices.","archived":false,"fork":false,"pushed_at":"2026-01-23T09:16:01.000Z","size":91,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-24T02:12:00.492Z","etag":null,"topics":["android","capacitor","capacitor-plugin","inmersive","native","navigation-bar","navigationbar","system-bars"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squareetlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-10T15:39:21.000Z","updated_at":"2026-01-23T09:16:06.000Z","dependencies_parsed_at":"2024-05-17T15:10:49.350Z","dependency_job_id":null,"html_url":"https://github.com/squareetlabs/capacitor-navigation-bar","commit_stats":null,"previous_names":["squareetlabs/capacitor-navigation-bar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/squareetlabs/capacitor-navigation-bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fcapacitor-navigation-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fcapacitor-navigation-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fcapacitor-navigation-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fcapacitor-navigation-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squareetlabs","download_url":"https://codeload.github.com/squareetlabs/capacitor-navigation-bar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareetlabs%2Fcapacitor-navigation-bar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["android","capacitor","capacitor-plugin","inmersive","native","navigation-bar","navigationbar","system-bars"],"created_at":"2025-01-14T01:18:02.265Z","updated_at":"2026-04-17T08:31:36.031Z","avatar_url":"https://github.com/squareetlabs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Capacitor NavigationBar\nThis is a capacitor plugin to control the navigation bar on Android devices.\n## Install\n\n```bash\nnpm install @squareetlabs/capacitor-navigation-bar\nionic cap sync\n```\n\n\nThis plugin is for Capacitor and allows control of the navigation bar on Android devices.\n\n## Summary\n\nThe Capacitor NavigationBar plugin is designed to provide an easy way to control the navigation bar on Android devices, allowing you to hide, show, change its color, and make it transparent.\n\n## API Docs\nFor a more in-depth look into the different parameters for methods, along with the corresponding types. Please look into a breakdown of the API:\n\n[API Documentation](api-docs.md)\n\n### Methods\n\n- **hide()**  \n  Hides the navigation bar.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.hide();\n  ```\n\n- **show()**  \n  Shows the navigation bar.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.show();\n  ```\n\n- **setTransparency(options: { isTransparent: boolean })**  \n  Sets the transparency of the navigation bar.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.setTransparency({ isTransparent: true });\n  ```\n\n- **setColor(options: { color: string, darkButtons: boolean })**  \n  Sets the color of the navigation bar and the style of the buttons (light or dark).\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.setColor({ color: '#FF0000', darkButtons: true });\n  ```\n\n- **getColor()**  \n  Gets the current color of the navigation bar.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  const color = await NavigationBar.getColor();\n  console.log(color); // { color: '#FF0000' }\n  ```\n\n### Listeners\n\n- **addListener(event: 'onShow', listenerFunc: () =\u003e void)**  \n  Event fired after the navigation bar is displayed.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.addListener('onShow', () =\u003e {\n  console.log('Navigation bar is shown');\n  });\n  ```\n\n- **addListener(event: 'onHide', listenerFunc: () =\u003e void)**  \n  Event fired after the navigation bar is hidden.\n\n  ```typescript\n  import { Plugins } from '@capacitor/core';\n  const { NavigationBar } = Plugins;\n\n  NavigationBar.addListener('onHide', () =\u003e {\n  console.log('Navigation bar is hidden');\n  });\n  ```\n\n- **addListener(event: 'onColorChange', listenerFunc: (returnObject: { color: string }) =\u003e void)**  \nEvent fired after the navigation bar color is changed.\n\n```typescript\nimport { Plugins } from '@capacitor/core';\nconst { NavigationBar } = Plugins;\n\nNavigationBar.addListener('onColorChange', (info) =\u003e {\nconsole.log('Navigation bar color changed to', info.color);\n});\n```\n\n## More In-Depth Review of the Plugin\n\nThe Capacitor NavigationBar plugin provides an efficient and easy way to control the navigation bar on Android devices. With methods to hide, show, change the color, and adjust the transparency, it offers great flexibility and control over your app's user interface.\n\n## Limitations\n\n- This plugin is designed specifically for Android devices and has no effect on iOS.\n- Full transparency of the navigation bar is only supported on Android R (11) and above. On earlier versions, you can use the FLAG_LAYOUT_NO_LIMITS flag to achieve a similar effect.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareetlabs%2Fcapacitor-navigation-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareetlabs%2Fcapacitor-navigation-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareetlabs%2Fcapacitor-navigation-bar/lists"}