{"id":132,"date":"2022-11-29T08:08:03","date_gmt":"2022-11-29T08:08:03","guid":{"rendered":"https:\/\/superpwa.com\/documentation\/?post_type=ht_kb&#038;p=132"},"modified":"2022-11-29T14:26:38","modified_gmt":"2022-11-29T14:26:38","slug":"my-apk-is-showing-top-bar-address-url-bar","status":"publish","type":"ht_kb","link":"https:\/\/superpwa.com\/docs\/article\/my-apk-is-showing-top-bar-address-url-bar\/","title":{"rendered":"My APK is showing top bar (Address\/URL Bar)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">APK Installation is fine but the address bar still appear.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Solve: Remove the URL bar Trusted Web Activities(SuperPWA APK) require an association between the Android application and the website to be established to remove the URL bar.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This association is created via Digital Asset Links and the association must be established in both ways, linking from the app to the website and from the website to the app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Follow the below steps to remove bar:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go APK zip make sure there is assetlinks.json [If not available regenerate again]<\/li>\n\n\n\n<li>Add the asset link on&nbsp;<strong>\/.well-known\/assetlinks.json<\/strong>&nbsp;path and serve it from your domain.<\/li>\n\n\n\n<li>Check your&nbsp;<strong>https:\/\/ YOUR_HOST\/.well-known\/assetlinks.json<\/strong>&nbsp;is exited or not exited<\/li>\n\n\n\n<li>If not available above link, then create a .well-known folder in the root and upload assetlinks.json file from zip which will be available in your android APK addon setting panel in a .well-known folder,&nbsp;<strong>Make sure this link properly renders the content<\/strong><\/li>\n\n\n\n<li>Now you are ready, Clear your browser and app data from mobile<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For more information or verify assetlinks.json values for this&nbsp;<a href=\"https:\/\/developers.google.com\/digital-asset-links\/tools\/generator\">Click Here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is an example statement list on a website:&nbsp;<a href=\"http:\/\/example.digitalassetlinks.org\/.well-known\/assetlinks.json\">http:\/\/example.digitalassetlinks.org\/.well-known\/assetlinks.json<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you are still facing APK is showing top bar verification issue then follow the below instruction<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This key we are going to verify in play console over here.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35.png\" alt=\"\" class=\"wp-image-1277\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sign in to your&nbsp;<a href=\"https:\/\/accounts.google.com\/signin\/v2\/identifier?service=androiddeveloper&amp;passive=1209600&amp;continue=https%3A%2F%2Fplay.google.com%2Fapps%2Fpublish%2Fsignup%2F%23&amp;followup=https%3A%2F%2Fplay.google.com%2Fapps%2Fpublish%2Fsignup%2F&amp;flowName=GlifWebSignIn&amp;flowEntry=ServiceLogin\">Google Play Console<\/a>.<\/li>\n\n\n\n<li>Once we come into the project we need to check in APP integrity<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/superpwa.com\/wp-content\/uploads\/2022\/03\/b-1.png\" alt=\"B 1\" class=\"wp-image-41021\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After that click on the <strong>Setup<\/strong> -&gt; <strong>App integrity<\/strong> -&gt; <strong>App signing<\/strong> -&gt; Scroll to the \u201c<strong>App signing key certificate<\/strong>\u201d section and copy the fingerprints <strong>(MD5, SHA-1, and SHA-256) <\/strong>of your app signing certificate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/superpwa.com\/wp-content\/uploads\/2022\/03\/b-4.png\" alt=\"B 4\" class=\"wp-image-41026\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The copied key should be similar to the asset link<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/superpwa.com\/wp-content\/uploads\/2022\/03\/b-3.png\" alt=\"B 3\" class=\"wp-image-41024\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Copy this Asset Links JSON code has you can see the above screenshot then replace it in your Asset Links JSON file which will be available in your <strong>.well-known<\/strong> folder.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong><a href=\"https:\/\/superpwa.com\/contact\/\">here<\/a>&nbsp;<\/strong>and&nbsp;we are always available for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>APK Installation is fine but the address bar still appear. Solve: Remove the URL bar Trusted Web Activities(SuperPWA APK) require an association between the Android application and the website to be established to remove the URL bar. This association is created via Digital Asset Links and the association must be&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[18],"ht-kb-tag":[],"class_list":["post-132","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-pro"],"_links":{"self":[{"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":1,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb\/132\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb\/132\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=132"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/superpwa.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}