This TWA stuff rocks! Finally I got my PWA on Google Play Store 🎉

By activation we get the required SHA-256 certificate fingerprint.
The fingerprint will be publicly visible.
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}]
Finally! I feel boundless power!
  • Pass data / variables from the .apk to the website.
  • Splash Screen / Loading Screen with check if Chrome instance is finished loading. You can see that first the Native App gets initialized and after this the Chrome instance starts. This ugly “switch” has to be hidden in order to make the app look even more native.
  • Detect Android Device language and pass it to website / PWA.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store