Promo Campaigns

Learn how to display personalized promo offers to your customers using Adapty Flutter SDK

Promo Campaigns help you to increase revenue with targeted offers for your customers. You can use them to upsell, convert freemium users to paid ones, and win back churned subscribers.

🚧

Make sure to upload the push certificate for iOS and Firebase Cloud Messaging (FCM) server key for Android in an Adapty Dashboard, without them, we can't send push notifications

To get an available promo offers for a user, call getPromo() method:

try {
    final AdaptyPromo? promo = await Adapty.getPromo();
} on AdaptyError catch (adaptyError) {}
catch (e) {}

Response parameters:

  • promo: an AdaptyPromo. This object contains an info about the available promo offer. It can be null when there's no offer available

Listening for promo updates

Whenever a user's eligible promo offer list changes, Adapty will hook an event. To receive promo offers updates, use our listener:

Adapty.promosReceiveStream.listen((AdaptyPromo promo) {
  
});

Did this page help you?