Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Address bar showing in Android #4846

Open
parogo5 opened this issue Nov 21, 2024 · 4 comments
Open

[BUG] Address bar showing in Android #4846

parogo5 opened this issue Nov 21, 2024 · 4 comments

Comments

@parogo5
Copy link

parogo5 commented Nov 21, 2024

What happened?

I configure my app to not show the address bar and still showing it.

Manifest.json (example configuration):

{
"short_name": "app",
"name": "app",
"description": "app description",
"start_url": "https://web.es/",
"display": "standalone",
"scope": "https://web.es/",
"theme_color": "#0084c9",
"orientation": "portrait",
"background_color": "#000000",
"icons": [
{ "src": "/images/iconPWA.png",
"type": "image/png",
"sizes": "512x512"
}
],
"id": "app-id",
"launch_handler": {
"client_mode": "navigate-new"
},
"file_handlers": [

{      
	"action": "/",
	"accept": {

		"application/pdf": [".pdf"],

		"application/zip": [".zip"],

		"application/zip": [".xsig"],

		"application/vnd.etsi.asic-e+zip": [".xsig"]
	}
}

],
"display_override": [
"window-controls-overlay",
"standalone",
"fullscreen"
],
"dir": "ltr",
"lang": "es",
"categories": [
"finance"
]
}

Multimedia

I have attached the steps to generate the apk:

Captura de pantalla 2024-11-21 a las 12 11 24 Captura de pantalla 2024-11-21 a las 12 11 46 Captura de pantalla 2024-11-21 a las 12 11 55

Thank you in advance.

How do we reproduce the behavior?

Open the app in Android.

What do you expect to happen?

I expect to hide the address.

What environment were you using?

Android 13
Realme 8 PRO

Android 14
Nothing Phone 2

Additional context

We have checked that the app in August 2024 with the same configuration the address bar was successfully hidden.

Copy link
Contributor

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .

@jeremehancock
Copy link

I am seeing the same issue with this manifest.json,

  "name": "App Name",
  "short_name": "App Name",
  "start_url": "index.html",
  "id": "app-id",
  "description": "App description",
  "display": "fullscreen",
  "orientation": "portrait-primary",
  "icons": [
    {
      "src": "images/icons/web-app-manifest-192x192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "images/icons/web-app-manifest-512x512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],
  "launch_handler": {
    "route_to": "index.html",
    "client_mode": "auto"
  },
  "scope_extensions": [
    {
      "origin": "*",
      "target": "_blank"
    }
  ],
  "theme_color": "#000000",	
  "background_color": "#000000",
  "display_override": [
    "fullscreen",
    "window-controls-overlay",
    "minimal-ui"
  ],
  "categories": ["games"],
  "edge_side_panel": {
    "preferred_width": 0
  },
  "prefer_related_applications": false,
  "shortcuts": []
}

Copy link
Contributor

This issue has been marked as "needs attention 👋" since it has not been triaged for 7 days. Please triage the issue .

@toxicosmos
Copy link

I have the same problem:

  • PWA apk created in July, working perfectly.
  • PWA apk created in Devember (SAME manifest in my web page, SAME configuration than previously when generating with PWA Builder ), is showing a navigation bar at the top.
    (
    Also tried with different configs in Display Mode and fallback behavior, but nothing happens: navbar is always there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants