Multi-activity Integration

iOS

It is suggested to maintain a time of 5 seconds or above in between initiate and process. Occasionally this may not be possible within the same ViewController. This brings up the use case to call initiate and process from different view controllers. The SDK takes a ViewController as input in initiate API of HyperServices. This view controller will be used as a base view controller for any UI in the SDK. To integrate the SDK across multiple view controller, the base view controller must be updated before calling process API of HyperServices.

To change the baseViewController:

Similar to the base view controller, the callback block that was passed in initiate can be updated later if the callback needs to handled from different class.

To change the callback block:

Last updated 2 years ago