Appboy / appboy-ios-sdk

Public repo for the Braze iOS SDK
https://www.braze.com
Other
165 stars 142 forks source link

setInAppMessagingRegistrationBlocklist on iOS #303

Closed ahmetws closed 2 years ago

ahmetws commented 3 years ago

Report

I'm trying to prevent In app messages on login screen on iOS. I saw Android can block some activities with setInAppMessagingRegistrationBlocklist. Is there a function for the same behaviour on iOS?

Bucimis commented 3 years ago

Hi @ahmetws, that exact functionality is not available on iOS, since on iOS there isn't an equivalent concept of registering activities (or on iOS's case, view controllers) with the SDK for IAM display. To selectively block IAMs on iOS, I would recommend using the IAM delegate, see https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/in-app_messaging/customization/#in-app-message-delegate and https://www.braze.com/docs/developer_guide/platform_integration_guides/ios/in-app_messaging/customization/#custom-handling-in-app-message-display

hokstuff commented 2 years ago

Closing out this issue due to inactivity. Feel free to contact support@braze.com if the response above did not sufficiently answer your question - thanks!