![]() What Are App Links and How Are They Defined? ![]() Now, when a user tries to open, both Product and Base modules will start to download and the ProductActivity will be launched. We will call them Product and Product list modules. To make them accessible as instant app activities, they need to be packed into individual feature modules and they need to have associated App Links defined in their module manifests. ![]() Let’s say you have a web app with a list of products and a single page of the product. For example, you can link to launch the ProductsListActivity and to launch the ProductActivity. Well, you need to divide your Android project into a couple of modules. One of them is a base module with the essential code which is used in all other modules (API connection, database, shared preferences etc.). Other, feature modules, contain specific functionalities and activities which can be accessed via associated URLs. The rest of the app is not downloaded. This way users can quickly enjoy the native experience of your Android application. Web URLs will trigger the Google Play Store on your phone and fetch only the part of the app that is associated with the requested URL. An Instant app will actually be installed on your phone, but without the need to search for it on the Play Store. First of all, don’t confuse them with Progressive Web Apps where a launcher icon opens a web app via Chrome browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |