Play商店上的PWA2APK仍显示网址 [英] PWA2APK on play store is still showing url

查看:143
本文介绍了Play商店上的PWA2APK仍显示网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个渐进式Web应用程序,它运行良好。它提示安装,并将链接保存在android home上,并且不显示任何URL地址栏。

I created a progressive web app, and it works perfectly. It prompts for installation and it saves the link on the android home and it shows no url address bar.

然后我使用了PWA2APK( https://appmaker.xyz/pwa-to-apk/ )创建一个APK并在游戏商店中部署。

Then I used PWA2APK (https://appmaker.xyz/pwa-to-apk/) to create an APK and deploy on play store.

构建完成后,我下载了assetlinks.json,并添加了SHA-256证书以这种方式修改assetlinks.json(我更改了值):

Once built, I downloaded the assetlinks.json, added the certificate SHA-256 modifying the assetlinks.json in this way (I changed values):

[
  {
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "xyz.appmaker.pblx",
      "sha256_cert_fingerprints": ["AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA","SHA256: BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB"]
    }
  }
]

然后我将其在线推送,修正www.exemple.com/.well-known/assetlinks.json在浏览器中显示值。

Then I pushed it online, and verified that www.exemple.com/.well-known/assetlinks.json show the values in the browser.

程序包名称与APK相同,并且SHA-256是应用程序签名证书。

The package name is the same of the APK, and the SHA-256 is the Application signing certificate.

我还添加了图标,屏幕截图和所有必要的东西。整个工作流程已通过验证。因此,一旦部署了用于内部测试的版本,我希望它可以正常工作,但不能正常工作。该应用程序安装有默认图标,它显示rl地址栏,并且存在一些加载问题。

I also added icons, screen capture and all the necessary stuff. the total workflow is validated. So once deployed a version for an internal test, I expected it to work correctly, but it doesn't. The application is installed with a default icon, it shows the rl address bar and it has some load problems.

有人遇到过同样的问题吗?

Did anybody experienced the same issues? How did you solve it?

谢谢。

推荐答案

我是构建此工具的团队的一部分。至于这个问题,可以通过从下面删除SHA256来解决。

I am part of the team that build this tool. And as for the question, this can be solved by removing SHA256 from following.

之前:


sha256_cert_fingerprints:
[ AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA :AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA, SHA256:
BB:BB:BB: BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB: BB:BB:BB:BB]

"sha256_cert_fingerprints": ["AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA","SHA256: BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB"]

之后

  "sha256_cert_fingerprints": ["AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA","BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB:BB"]

这应该可以解决地址栏的问题。

This should fix the issues you had with the address bar.

是的,随时可以与支持论坛联系。很高兴为您提供帮助,并感谢您使用PWA2APK

And yes, feel free to reach out in support forum anytime. Happy to help and thanks for using PWA2APK

这篇关于Play商店上的PWA2APK仍显示网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆