-
Notifications
You must be signed in to change notification settings - Fork 162
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
URL Bar Visible on Additional Trusted Origin Domain in PWA APK #855
Comments
Currently trying to fix exactly the same thing. I think a few overrides/modifications are needed in the generated android source files in order to succeed enabling multiple origins in a TWA. More infos about this here https://stackoverflow.com/a/62591136 Those google repos are helpful as well:
I couldn't make it work yet, since I kinda miss the knowledge on how to edit an android project. I'll come back to you if I manage to make it work. |
Ok, I made it work by following the Google doc at https://developer.chrome.com/docs/android/trusted-web-activity/multi-origin
Edit
|
I'm experiencing an issue with my PWA where the URL bar is not behaving as expected across different domains. Here's the setup:
https://app.domain.com
https://sso.domain.com
Problem
When accessing the PWA on
https://app.domain.com
, the URL bar is hidden as expected. However, when the PWA navigates tohttps://sso.domain.com
for SSO purposes, the URL bar becomes visible. I want the URL bar to remain hidden on both domains.Configuration
Asset Links:
app.domain.com
andsso.domain.com
have the sameassetlinks.json
file withno-cache
cache control, and they are accessible.assetlinks.json
file includes the necessary entries for both domains.HTML Head:
https://sso.domain.com
, I have included the following in the<head>
section:Issue
Despite following the steps outlined above, the URL bar remains visible on
https://sso.domain.com
. I am unsure what might be wrong with the SSO additional trusted origin configuration.Request
Could you please help me identify what might be causing this issue or guide me on any additional steps I might need to take to resolve it?
Additional Information
Let me know if there is any more information that I can provide to help diagnose this issue.
Thank you for your assistance!
I hope this helps! Feel free to modify the text as necessary to fit your specific situation.
The text was updated successfully, but these errors were encountered: