{"id":1162,"date":"2020-08-17T11:58:20","date_gmt":"2020-08-17T11:58:20","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=1162"},"modified":"2021-06-11T07:06:10","modified_gmt":"2021-06-11T07:06:10","slug":"my-apk-is-showing-top-bar","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/my-apk-is-showing-top-bar\/","title":{"rendered":"My APK is showing top bar(Address\/URL Bar)"},"content":{"rendered":"\n<p>APK Installation is fine but the address bar still appear.<\/p>\n\n\n\n<p><strong>Solve: Remove the URL bar Trusted Web Activities(PWA 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>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><strong>Follow the below steps to remove bar:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Go APK zip make sure there is assetlinks.json [If not available regenerate again]<\/li><li>Add the asset link on <strong>\/.well-known\/assetlinks.json<\/strong> path and serve it from your domain.<\/li><li>Check your <strong>https:\/\/ YOUR_HOST\/.well-known\/assetlinks.json<\/strong> is exited or not exited<\/li><li>If not available above link, then create a .well-known folder in the root and upload assetlinks.json file from zip in a .well-known folder, <strong>Make sure this link properly renders the content<\/strong><\/li><li>Now you are ready, Clear your browser and app data from mobile<\/li><\/ol>\n\n\n\n<p>For more information or verify assetlinks.json values for this <a href=\"https:\/\/developers.google.com\/digital-asset-links\/tools\/generator\">Click Here<\/a>.<\/p>\n\n\n\n<p><strong>Example<\/strong><\/p>\n\n\n\n<p>Here is an example statement list on a website: <a href=\"http:\/\/example.digitalassetlinks.org\/.well-known\/assetlinks.json\" data-type=\"URL\" data-id=\"http:\/\/example.digitalassetlinks.org\/.well-known\/assetlinks.json\">http:\/\/example.digitalassetlinks.org\/.well-known\/assetlinks.json<\/a><\/p>\n\n\n\n<p><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\"><li>This key we are going to verify in play console over here.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"947\" height=\"233\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35.png\" alt=\"\" class=\"wp-image-1277\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35.png 947w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35-300x74.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35-768x189.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35-50x12.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35-60x15.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/35-100x25.png 100w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><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\">Play Store APP <\/a><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Once we come in to the project we need to check in APP integrity<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"467\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-1024x467.png\" alt=\"\" class=\"wp-image-1280\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-1024x467.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-300x137.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-768x350.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-50x23.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-60x27.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36-100x46.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/36.png 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>The copied key should be similar to the assest link<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"348\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-1024x348.png\" alt=\"\" class=\"wp-image-1282\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-1024x348.png 1024w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-300x102.png 300w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-768x261.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-50x17.png 50w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-60x20.png 60w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37-100x34.png 100w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2021\/06\/37.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>If the key is not similar, then we need to override this SHA 256 fingerprint in assetlinks.json file also<\/li><\/ul>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>Hope this instruction will help you to solve the issue, if still, you are facing the issue please contact our Support team<\/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(PWA 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":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[7],"ht-kb-tag":[],"class_list":["post-1162","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-miscellaneous"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":22,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1162\/revisions"}],"predecessor-version":[{"id":1288,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1162\/revisions\/1288"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=1162"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}