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
Issue on TWA assetlinks acceptation causes navigation bar to appear #310
Comments
Hi, @yossefaz , these are my checklist to make the navigation bar disappear:
I hope this can help you out. |
@applinations : Your first point sounds like a solution to my problem... I indeed added a cache in my .htaccess file but I cannot see there definition for .json file... I have this definition :
and finally this one
All those definitions are related to Cache Control, but I have not specified for |
@applinations I managed to remove the Cache Control on this file by adding something like :
And now when I curl I got I then:
But still see the navigation bar ! |
@yossefaz honestly, I'm not quite familiar with Apache webserver. |
@applinations : this is the output of the curl command :
As you can see here :
But still got the navigation bar |
@yossefaz did you opt-in into App Signing on the Play Store? If you did, the store will re-sign the APK with a different key and the SHA-256 fingerprint will be different when downloaded from Play. You'll need to run the Asset Links tool on the version downloaded from Play. There's more information here: https://developers.google.com/web/android/trusted-web-activity/quick-start#play-store-signing |
@andreban : thanks for your help. But unfortunately as I explain at the begining of the issue, and on the other issue I oppenned on PWABuilder repo, that was exactly my case but I already fixed this point and now the SHA256 from the App store and from the assetlinks.json (stored in the .well-known directory) are exactly the same....please refer to the begining of this thread where I show both of them. |
Thanks for this information. Can you confirm if the upload to Play was using the This is the error I'm getting on the phone logs (this was in Chrome Canary, but I see the same in stable):
|
Taking a deeper look into the application: The initial URL to be launched is defined as [{ "relation": ["delegate_permission/common.handle_all_urls"],"target": {"namespace": "web", "site": "https://ahavatorah.fr"}}] But, when the URL is opened, it redirects to
We can see the 301 redirect with Overall, I see your server answers to both |
@andreban : You pointed out the real problem. I fixed it and now it works ! Many thanks for your help ! |
Describe the bug
I openned an issue on the PWABuilder repo , because my assetlinks is correct (sync with google sha 256 keys) but I still got the navigation bar appears when I open the app (from the play store)
To Reproduce
Steps to reproduce the behavior:
Go to : https://ahavatorah.fr/.well-known/assetlinks.json to see the assetlinks.json
Open Asset Links Tool and you'll see that this is the same asset links :
However If you download and open the app from the play store, you'll see the navigation bar
Expected behavior
The navigation bar should disapear
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: