Explore More
Explore More is a new feature introduced in the SDK version 5.4.1
. This feature allows you to show and additional Recommendations widget when user navigates away from an article page.
It works by triggering the SDK when the app detects a user is navigating back and provides a callback that can be used to perform the navigation after the EM widget has been dismissed.
The feature has trigger limits that can be set on the backend side in order to not show the EM widget too often.
Implementation
In order to implement the Explore More feature you should add the following code to your back navigation method:
func navigateBack() {
...
Outbrain.showExploreMore {
// At this point the EM widget has been dismissed and you can perform the actual navigation.
}
}
Another option would be to perform the navigation first and call the showExploreMore
after with an empty onExploreMoreDismissed
closure.