Automatic Interaction requests
Identify why automatic interaction requests may not be triggered for a View Controller.
Ensure you are calling super
when overriding View Controller lifecycle methods. The SDK relies on the View Controller lifecycle methods being called to automatically capture Interaction events. Therefore it is required for the client app to call super
, when lifecycle methods are overridden, to notify the OS of the method call.
How to identify when this is the issue
If the lifecycle methods are not configured correctly you may only see the interaction path being configured, for example:
In other cases you may only see the View Controller disappearing being logged, for example:
How to resolve this issue
Ensure you are calling super
when overriding any of the methods outlined here.
Example of an automatic Interaction being triggered correctly: