Comments (10)
Thanks a lot @jgw96 and @andreban for your time on both two issues I submitted, really cool and appreciated
from cloudapk.
I have also make some enhancement on our side to be "maskable" compatible and the result is really cool!
Thank you @jgw96 for the fix
from cloudapk.
No problem at all, the icon is looking really good!
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.
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.
Hmm we are not doing anything special with icons so this might be an issue in bubblewrap itself. @andreban are you aware of any issues like this?
from cloudapk.
The problem is that CloudAPK is setting maskableIconUrl
, but the icon is not maskable. Maskable icons need some gaps from their borders, More info on maskable icons here: https://web.dev/maskable-icon/ and Android specifics here: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive
Here's what the payload passed to generateSignedApkZip
looks like:
{
"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"
}
}
But there's no maskable icon in the Web Manifest at https://deckdeckgo.com/manifest.json:
{
"name": "DeckDeckGo",
"short_name": "DeckDeckGo",
"display": "standalone",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"scope": "/",
"start_url": "/",
"orientation": "portrait",
"icons": [
{
"src": "/assets/favicon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/assets/favicon/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
So, the solution is to only set maskableIconUrl
if there's a maskable icon in the Web Manifest.
from cloudapk.
Thanks again @andreban ! @peterpeterparker ill get this fixed up (:
from cloudapk.
Fixed pwa-builder/PWABuilder@59d6c89 . @peterpeterparker I am going to deploy this fix and the fix for #19 , let me know if you run into any other issues! Also, thanks @andreban for the help!
from cloudapk.
Fixes deployed, Thanks again @peterpeterparker (:
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.