Today in this blog I’m going to discuss “Android Instant Apps” introduced by Google in I/O 16. Developers like you have built amazing android apps unleash the full power of android devices seamlessly combining the camera, the GPS, with smooth animations and more. But you tell me, you wish to bring users to for your apps more quickly with the web you can tap a link and land on a web page, it takes one tap and just a few seconds. But I don’t have the app installed, getting to the same place in the app can take many taps and a few minutes. Google wants to help you deliver the rich and immersive experience in your Android apps to more users. So, in Instant Apps google try’s to get rid off installation completely. An evolution in-app sharing and discovery, Android Instant Apps allows Android users to run your apps instantly, without installation. Android users experience what they love about apps—fast and beautiful user interfaces, high performance, and great capabilities—with just a tap. Android Instant Apps is now open to all developers so anyone can build and publish an instant app today. If you are user and want to use Instant App feature on your mobile, just enable it.
- Navigate to your phone’s Settings
- Scroll down and tap Google under the Personal
- Under the Services category, select Instant Apps.
- Tap the toggle on the top-right of the screen.
- Read through the instructions card (and Play Terms of Service, if you really want to), then tap Yes, I’m in.
When Google Play receives a request for a URL that matches an instant app, it sends the necessary code files to the Android device that sent the request. The device then runs the app.
So how does Android Instant Apps work?
Imagine your friend send you a link to a recipe of an Indian dish from a cooking blog, which you can see on an app. But you don’t have the app installed on your device. What you will do? Go to the playstore download the app and then search the recipe. After that, you have no use of that app. It simply wastes of time and memory.
In an Instant App scenario, however, that link would download the “Recipe Details” page module of Upwork’s Android app and display that page, with all of its built-in mobile app functionality. For the user, this native experience via the downloaded module is generally much richer and with better performance (scrolling, speed, etc.) than a web experience.
Benefits of an Instant Android App:-
1. Include all advantages of a native app:
An Instant app uses the same source code written for the native app and download a particular functionality for an URL request on single tap, just like a web browser downloads a web page. Instant app able to use all native APIs.
2. Remove installation:
It indirectly reduces the number of taps required to complete a task and make you land a specific screen which you want.
3. Get the same user experience:
An Instant App gave the user experience same as the normal native app (like animations, data flow) even without installing it.
4.Easy to update app to Instant app:
The instant app uses same source code, same API’s and even same data flow structure of the previous app. It takes 1-2 days to update your app to Instant one.
5. Support many Android versions:
Google declared that Instant App feature is supported by Android versions from back “jelly bean” to the current version. To use Instant, you need GooglePlayStore on your device.
Converting App to Instant App:-
1. Make modules of your app accordingly:
At the point when your source code is modularized, Google can download the segments it needs to run the application on the fly. Think about each page in your application as a module, or a solitary element that bodes well to independent. Utilizing Upwork’s application, for instance, particular Instant App modules could be the Registration page, a Job Details page, or a client’s Profile Page.
2. It will give you two versions of APK’s:
The installable APK will run as usual; the instant version will be the one Google identifies as an Instant App.