isCampaignAvailable

Returns a boolean if a matching campaign is available on the device.

import NamiApple

// Returns true if a default campaign (one without a label) is available on the device
NamiCampaignManager.isCampaignAvailable()

// Returns true if a campaign matching the specified label is available on the device
NamiCampaignManager.isCampaignAvailable("a_label")

Last updated