-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(braze): ensure braze has a scene #593
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember that when we were testing IAM via the Braze dashboard, it worked for me without any modification to the code. Curious to understand why we would need a scene now. Also, testing steps refer to commenting in / out, but do I need to trigger an IAM from Braze too?
@cyndichin that stuff is in the comment, can you help me make it more clear? That code creates a local in app message. |
@@ -108,7 +107,22 @@ extension PocketBraze: BrazeInAppMessageUIDelegate { | |||
_ ui: BrazeInAppMessageUI, | |||
prepareWith context: inout BrazeInAppMessageUI.PresentationContext | |||
) { | |||
// Customize the in-app message presentation here using the context | |||
// We need to set our scene for Braze because our UIKit + SwiftUI stuff does not seem to work with Braze's default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// We need to set our scene for Braze because our UIKit + SwiftUI stuff does not seem to work with Braze's default | |
// We need to set our scene to show our local Braze in-app messaging because our UIKit + SwiftUI stuff does not seem to work with Braze's default |
@cyndichin that stuff is in the comment, can you help me make it more clear? That code creates a local in app message.
Ohh okay, added suggestion for the comment. I was more curious to understand why we need this local message when it worked previously without this code (we can also discuss live in Unleash meeting).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyndichin that i can't answer, i dug through their sdk, and cant see why. But our codes been changing a lot. This is an area where im just accepting something changed, and this fixes it. 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay! thanks for always clarifying for me! approved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested with and without the additional code, looks good!
Summary
Ensure that braze has a scene to show the message on
Implementation Details
Test Steps
Screenshots