Giter VIP home page Giter VIP logo

Comments (9)

andreban avatar andreban commented on August 14, 2024 1

I can repro that. Here's the error message I get from the request:

Invalid PWA settings: name is required

Here's way the payload sent to generateSignedApkZip looks like:

{
    "packageId": "com..twa",
    "host": "pwa-directory.appspot.com",
    "name": "",
    "themeColor": "transparent",
    "navigationColor": "transparent",
    "backgroundColor": "transparent",
    "startUrl": "/manifest.json",
    "iconUrl": "https://pwa-directory.appspot.com/favicon.ico",
    "maskableIconUrl": null,
    "appVersion": "1.0.0",
    "useBrowserOnChromeOS": true,
    "splashScreenFadeOutDuration": 300,
    "enableNotifications": false,
    "shortcuts": [],
    "signingInfo": {
        "fullName": "John Doe",
        "organization": "Contoso",
        "organizationalUnit": "Engineering Department",
        "countryCode": "US"
    }
}

Another point is that the generated packageId is also invalid: com..twa.

from cloudapk.

jgw96 avatar jgw96 commented on August 14, 2024 1

Hey all! The service is now back up and running, sorry for the issues! Since the service is back up I am going to close this for now but @JudahGabriel , on Tuesday lets talk about what i found and we can open an issue to fix the deeper cause.

from cloudapk.

msftbot avatar msftbot commented on August 14, 2024

Hello amanintech, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

from cloudapk.

JudahGabriel avatar JudahGabriel commented on August 14, 2024

Woops, looks like something broke on our deploy. We should have a fix for you Monday or Tuesday.

from cloudapk.

jgw96 avatar jgw96 commented on August 14, 2024

Hello all! Looks like our service went down over the weekend, i am looking into things now and will respond when fixed (:

from cloudapk.

amanintech avatar amanintech commented on August 14, 2024

It still returns error
image

from cloudapk.

JudahGabriel avatar JudahGabriel commented on August 14, 2024

@amanintech working on this end - I'm successfully generating an APK. Can I ask what URL you're using?

from cloudapk.

amanintech avatar amanintech commented on August 14, 2024

It doesn't work reliably. Sometimes it does sometimes it doesn't. I am trying to retrace the network call and more information about the error.

Also, I think the styling part doesn't generate the right manifest file.

eg. I chose the standalone display view of the PWA but still, the generated app had it with the address bar. Is it supposed to be like that?
or should I raise a separate issue explaining the error?

from cloudapk.

JudahGabriel avatar JudahGabriel commented on August 14, 2024

Let me know if there's a consistently failing URL.

If your packaged APK is showing with address bar on Android, you probably forgot to include your digital asset links.

When you download your Android app package from pwabuilder, your zip file will contain a Next-steps.md which tells you what you need to do:

Digital Asset Links

To validate that you own your PWA's domain, you'll need to deploy a Digital Asset Links file to your server. The TWA Quick Start Guide explains how.

Follow those steps to deploy your digital asset links file, then your APK will load without address bar on Android.

from cloudapk.

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.