GithubHelp home page GithubHelp logo

Comments (7)

andreban avatar andreban commented on July 17, 2024 5

When using App Signing, Google Play will not provide you with the certificate used to sign the final APK, so you won't be able to use it for debugging.

One alternative would be to modify your assetstatements.json file to contain both the fingerprint used by the Play Store and the one for your debug key.

The sha256_cert_fingerprints is an array and you could do something like used here.

from svgomg-twa.

thanhtungka91 avatar thanhtungka91 commented on July 17, 2024

@andreban it works, thanks

from svgomg-twa.

andreban avatar andreban commented on July 17, 2024

Great to hear that! Maybe it's worth asking / replying on StackOverflow, as it would help others with the same questions to find it. We have a tag for TWAs. Let me know if you'd like to post the question and answer.

from svgomg-twa.

thanhtungka91 avatar thanhtungka91 commented on July 17, 2024

@andreban yep, it is very helpful if we can post this question to StackOverflow.
thanks.

from svgomg-twa.

melvas6 avatar melvas6 commented on July 17, 2024

When using App Signing, Google Play will not provide you with the certificate used to sign the final APK, so you won't be able to use it for debugging.

One alternative would be to modify your assetstatements.json file to contain both the fingerprint used by the Play Store and the one for your debug key.

The sha256_cert_fingerprints is an array and you could do something like used here.

Hi,
Is it possible to post the solution here? The website link is down.
Should I just use both keys in sha256_cert_fingerprints or make another relation object as in linking for multiple apps?

from svgomg-twa.

PEConn avatar PEConn commented on July 17, 2024

You should make multiple relation objects, for example my assetlinks.json file is:

[{
  "relation": ["delegate_permission/common.handle_all_urls"],
  "target": {
    "namespace": "android_app",
    "package_name": "dev.conn.drink",
    "sha256_cert_fingerprints": [
      "8C:18:7D:26:05:EE:2E:AF:4B:76:20:6F:39:7B:04:13:91:A2:E2:EC:C4:43:04:E1:25:E8:B8:E0:F4:73:5F:80"
    ]
  }
},
{
  "relation": ["delegate_permission/common.handle_all_urls"],
  "target": {
    "namespace": "android_app",
    "package_name": "dev.conn.drink",
    "sha256_cert_fingerprints": [
      "73:9E:C8:99:79:F1:A3:7F:12:95:54:D8:A5:8E:BB:8B:BB:52:76:15:F8:FC:CB:10:D5:E4:44:89:BD:4B:8E:3A"
    ]
  }
},
{
  "relation": ["delegate_permission/common.handle_all_urls"],
  "target": {
    "namespace": "android_app",
    "package_name": "dev.conn.drink",
    "sha256_cert_fingerprints": [
      "3B:C3:C4:34:CB:E5:96:62:FF:D7:3B:19:65:64:1A:E3:AF:DF:67:FE:E9:43:34:22:DE:72:E9:BE:D9:26:DA:3A"
    ]
  }
}]

from svgomg-twa.

melvas6 avatar melvas6 commented on July 17, 2024

@PEConn
Thanks a lot for the quick response. It is working.

from svgomg-twa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.