Search code examples
androidstartapp

StartApp StartAppSDK.init(context, appId, enableReturnAds) returns ad


I am initializing start app ad by following line. Even I passed false in return ad, I see the ad like "You got 1 new app. Click to install".

StartAppSDK.init(this, Constants.STARTAPP_AD_APP_ID, false);

So how can I disable ad at the time of init ad SDK?


Solution

  • StartAppSDK.init(this, "Your App ID", false);
    

    Above statement is enough to disable return Ad feature of StartApp.

    May be you're are getting Splash Ad, which is by default enabled.

    You can use StartAppAd.disableSplash() that disable Splash Ad, after initialisation of StartAppSDK .