You can control the display of Rich Media using two methods:
- Event-Based Triggering: Set the Rich Media to display upon a specific event (e.g.,
login_success) sent from the app, rather than on app launch. - SDK Delegate Control: Implement the presentation delegate in your app code to intercept the display request.
- iOS: Implement
PWRichMediaPresentingDelegateand use therichMediaManager(_:shouldPresent:)method. - Android: Implement
RichMediaPresentingDelegateand use theshouldPresent(richMedia)method.
- iOS: Implement
Return false in these methods if the user is not logged in, and programmatically allow or trigger the display once authentication is complete.
Comments
0 comments
Please sign in to leave a comment.