lreiner / cordova-plugin-startapp-ads

Cordova Plugin to use StartApp Ads with Cordova based Hybrid Apps. Free to use for everyone 💰
https://www.startapp.com/
Apache License 2.0
10 stars 5 forks source link

"Return Ad" should be optional #3

Closed nyancodeid closed 5 years ago

nyancodeid commented 5 years ago

The Return Ad is a new ad unit which is displayed once the user returns to your application after a certain period of time. To minimize the intrusiveness, short time periods are ignored.

Return ads are enabled and activated by default. If you want to disable this feature, simply pass "false" as the 3th parameter of the StartAppSDK.init method:

StartAppSDK.init(cordova.getActivity(), "Your App ID", false);

This ad should be optional and pass into init method.

Nice Plugin.

lreiner commented 5 years ago

fixed with ec49ffc :)