WeSearch

How I shipped my PWA to Google Play as a TWA (and what actually went wrong)

·5 min read · 0 reactions · 0 comments · 12 views
#pwa#android#webdev
How I shipped my PWA to Google Play as a TWA (and what actually went wrong)
⚡ TL;DR · AI summary

Mark Barnett shares his experience of shipping a Progressive Web App (PWA) to Google Play as a Trusted Web Activity (TWA). He encountered several challenges, particularly with domain verification and signing keys. The article emphasizes the importance of understanding the Android project structure and the correct use of signing keys to avoid common pitfalls.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 560157) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Mark Barnett Posted on May 21 How I shipped my PWA to Google Play as a TWA (and what actually went wrong) #pwa #android #webdev #showdev I built Money Me as a PWA. It works offline, it's installable, it feels like a native app. At some point I decided to put it on Google Play because people kept asking "is it in the store?" The TWA route seemed obvious. Wrap the existing PWA in an Android shell, ship it. I figured a day of work, maybe two. It took me a lot longer than that.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)