It is possible to force the display of an invitation or survey regardless of the current criteria fulfillment:
- To display an invitation, call
- To display a survey, call
The SDK state persists across launches and may appear to behave inconsistently. This may be because it is not currently in an active state. The Trigger module isn’t in an active state if the user has either declined the invitation or completed the survey. You can force the Trigger module back to an active state like so:
Note: This should only be used for debugging purposes; not in production code.
You can enable debug logging like so:
With debug logging enabled, you can see useful information regarding state and state transitions in the XCode console.
As mentioned in the Sampling article, when the SDK is determining whether or not the user is eligible to be invited to take a survey, a pooling check is performed by sending an HTTP request to the Verint servers. If the user is in the sampling pool, then the invitation is presented. While instrumenting the app, it may be desirable to disable the pooling check to ensure that the invitation shows if-and-only-if the Trigger criteria for a measure has been fulfilled. You can do this by messaging the following method:
Updated 11 months ago