Comments (13)
Hello peterpeterparker, 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.
Hello peterpeterparker, 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.
Hmmm @peterpeterparker , it should be using your 512x512 icon from your manifest https://github.com/pwa-builder/PWABuilder/blob/master/components/Download.vue#L97, is that icon blurry outside of the TWA?
from cloudapk.
@jgw96 the 512x512 isn't that really blurry.
source: https://deckdeckgo.com/assets/favicon/android-chrome-512x512.png
maybe some transformations are applied when the splash images are generated? or is it "just" a zooming question (the img on the splash of the pwa is smaller)?
from cloudapk.
I think what may be happening is that the 512x512 image is being stretched to generate an xxhdpi image, which would be 900x900px. An xxxhdpi would be even worse, as it's 1200x1200, but I think that is usually used on tabled devices - https://github.com/GoogleChromeLabs/bubblewrap/blob/master/packages/core/src/lib/TwaGenerator.ts#L58-L59
I'll check generation in Bubblewrap (https://github.com/GoogleChromeLabs/bubblewrap) and file the issue there. A solution would be not to generate stretched images and check how the browser will handle smaller images. If the browser stretches it, we may need to generate images with transparent space instead of stretching the icon.
from cloudapk.
Looking at the payload for generateSignedApk
, it seems to be using the 192x192 image instead of 512x512. I checked out the Bubblewrap CLI, and it uses the 512x512 image.
{
"packageId": "com.deckdeckgo.twa",
"host": "deckdeckgo.com",
"name": "DeckDeckGo",
"themeColor": "#ffffff",
"navigationColor": "#ffffff",
"backgroundColor": "#ffffff",
"startUrl": "/",
"iconUrl": "https://deckdeckgo.com/assets/favicon/android-chrome-192x192.png",
"maskableIconUrl": "https://deckdeckgo.com/assets/favicon/android-chrome-192x192.png",
"appVersion": "1.0.0",
"useBrowserOnChromeOS": true,
"splashScreenFadeOutDuration": 300,
"enableNotifications": false,
"shortcuts": [],
"signingInfo": {
"fullName": "John Doe",
"organization": "Contoso",
"organizationalUnit": "Engineering Department",
"countryCode": "US"
}
}
Here's what the splash generated by the Bubblewrap CLI looks like:
from cloudapk.
@andreban ahh ok, interesting. So this is probably a logic issue on our side of things, ill take a look at this. Thanks Andre!
from cloudapk.
Update: Got a fix here pwa-builder/PWABuilder@e5532a0 for this issue. Working on the related issue #18 and then ill deploy.
from cloudapk.
Fixed as part of #18
from cloudapk.
The ratio works like a charm thx to your fix @jgw96 👍
from cloudapk.
from cloudapk.
Epic, thank you! Really appreciate you giving our service a try (:
from cloudapk.
My pleasure, it's really a great and handy service!
from cloudapk.
Related Issues (20)
- Error in Generating App (Java SSLHandshakeException) HOT 17
- Building android app generates inernal server error HOT 9
- Output App Bundles instead of APKs HOT 20
- [BUG] HOT 9
- [Question] Generate APK Unsigned does not install HOT 2
- Website Update but App didn't, Why? HOT 4
- NICE CREATION![BUG] HOT 1
- [BUG] Command failed: gradlew.bat assembleRelease --stacktrace HOT 7
- Play Store App signing key available on Play Console HOT 3
- [Question] HOT 7
- Intent-Filters HOT 3
- [BUG] HOT 4
- [Question] HOT 3
- [BUG] HOT 2
- [BUG] Old name for 'App integrity' in `Next-steps.md` and `Asset-links.md` HOT 1
- Deployed assetlinks.json, but bar still shows HOT 7
- [BUG] zipalign issue "Failed. Status code 500, Error: Internal Server Error, Details: Error generating app package" HOT 4
- [BUG] An erroneous . is added to end of PWA web address in Android apk HOT 10
- Creating native Android push notifications for App built with PWA builder HOT 3
- [Question] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudapk.