In-App Message Templates


In order to integrate the v2 version of inApp, please contact the indigitall support team

InApp Utilities

In the event that you want to show the InApp scheme in a different way to how our SDK paints it, we put at your disposal some methods so that you can customize the "painting", without affecting the statistics or the InApp functionalities.

Get InApp object

InAppIndigitall.inAppGet(context, inAppId, new InAppCallback(context){    
    public void onFail(Error error) {

    public void onSuccess(InApp inApp) {
        //DO SOMETHING

Check if the InApp should be displayed
Thanks to the InApp functionalities (from version 4.18.0 ), it is possible to indicate that the inApp is displayed or pressed a maximum number of times, or if in the case of the popUp, after performing an action , such as pressing the close button, is not shown again. To do this we could do the following within the inAppGet method that we have seen previously:

	new InAppCallback() {
    public void onSuccess(@NonNull InApp inApp) {
				//Show inApp

    public void onFail(@NonNull InAppErrorModel errorModel) {
 				//InApp  was expired

Actions to count clicks or to not show InApp anymore
For the case of what we call Dismiss Forever, once the action is performed, this method must be called:

PopUpUtils.INSTANCE.addNewInAppToDismissForever(context, inApp);

To send statistics, you have to send when an inApp was printed and when was clicked, you must add the following:

//inApp is showed
EventUtils.sendEventPrint(context, inApp);
// click inApp
EventUtils.sendEventClick(context, inApp);