Instant App



Before getting started, you’ll need to download our SDK via the Tag Composer tool by logging into your AT Internet account, or by using the SDK dependency available in JCenter (refer to the documentation on integrating the library).

Creating an instant app requires version 3.0 minimum of Android Studio.

See all prerequisites in the official documentation:


Basic structure of a project


A “basic” instant app is composed of three modules: the instant app module (Instant app module), the app module and the base feature  (see


Integration in Android Studio



The principle of integration is the same as with a standard application. Only the destination changes, since in order to integrate the library into your project, you must copy it to the folder called “MyProject/feature/libs” in the base feature module, this module contains (among other things) the resources shared between the instant app and app modules.

After having synchronised your project (Sync Project with Gradle Files), open the build.gradle file in the base feature module (feature in this example).


The build.gradle file :

  • Integration of the library in JAR format

  • Integration of the library in AAR format

  • Integration of the JCenter dependency

Instant app best practices would suggest reducing overall module size (including the “libs” file with archives). It’s therefore preferable for the user to load the library in JAR format which is lighter.
It should nonetheless be noted that, in this case, it won’t be possible to enable Live Tagging or the Debugger which require graphic resources only present in the AAR-format archive.

The Live Tagging and Debugger features are not available on instant app-type modules, notably due to limitations in terms of Android permissions (not possible to use the permission on the overlay: “android.permission.SYSTEM_ALERT_WINDOW”). Please see for more details.



The addition of authorisations must be done in the AndroidManifest.xml file of the base feature module.



Tagging must be added in the activity of the feature(s) in question based on the project’s structure.
According to Android documentation FAQ: “All the network traffic from inside instant apps must use HTTPS. Instant apps does not support HTTP.” (see

The Tracker’s secure mode must be enabled (with secure log) to allow hits to be sent on an instant app.

Was this post helpful?
Last update: 11/12/2017