![]() If you want to further develop on native features you can always do so. ![]() Luckily, Bubblewrap just creates the native code for you and delivers a regular Android project. I don't want to be locked into a framework. By building the Bubblewrap CLI it allows developers to create a TWA out of their PWA without having to look at any native code. Google partnered with Samsung to make a great developer experience. I just spend all this time crafting a highly performant PWA. How? BubblewrapĪs a front-end developer, I wasn't ready to start programming in Java or Kotlin. "If you are loading web content, use TWA" - Google Sounds good. Developers can appreciate this when using fairly new browser APIs loaded through progressive enhancement. This ensures that your web application will most likely always be loaded on the most recent version of Chrome. Finally, it will make use of the user's native chrome browser. Next to that, TWA is significantly faster, can share cookies with the web application, autocomplete data with the browser and send callbacks to the application. One of those features is the ability to hide the address bar similar to an install PWA on a phone. In short, TWA is Google's push to ensure a seamless user experience when loading web content in an Android app. This seems to have worked fine so why this new technique by Google? The application is bundled with a browser that will load your page. Why TWA?īefore TWA and still, on iOS you would traditionally load your web application in something called a Web View or a Chrome Custom Tab (CCT). This store presence is what we want to cater for. People are used to searching in their native store first. Although you can add a PWA to your home screen, like a native app, people would still have to visit your web application in their browser. By progressively enhancing your web application with PWA features you can offer a good user experience for a variety of different users. If you are unfamiliar on want to learn more about PWA please refer to my article "You might not need a native app".īeing able to build one experience cross-platform by using web techniques is one of the unique selling points of PWA. Make sure to notice the difference between PWA and TWA as this article wouldn't make much sense otherwise. Trusted Web Activity (TWA) is a technique to wrap your PWA in a native shell for Android.
0 Comments
Leave a Reply. |