You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MPLog.debug("Initializing RoktLayout with arguments:", sdkTriggered.wrappedValue, viewName ??"nil", locationName, preparedAttributes)
36
37
self.roktLayout =RoktLayout.init(
37
38
sdkTriggered: sdkTriggered,
38
39
viewName: viewName,
@@ -43,6 +44,7 @@ public class MPRoktLayout {
43
44
)
44
45
// The Binding variable provided by the client allows us to trigger a re-render of the UI but we only want to do this if the value was true to start
45
46
if identifyCalled && sdkTriggered.wrappedValue {
47
+
MPLog.debug("Triggering Rokt Swift UI re-render")
46
48
DispatchQueue.main.async{
47
49
sdkTriggered.wrappedValue =false
48
50
sdkTriggered.wrappedValue =true
@@ -84,10 +86,10 @@ public class MPRoktLayout {
84
86
if emailMismatch || hashedEmailMismatch {
85
87
// If there is an existing email or hashed email but it doesn't match what was passed in, warn the customer
86
88
if emailMismatch {
87
-
print("The existing email on the user (\(userEmailIdentity ??"nil")) does not match the email passed in to `selectPlacements:` (\(email ??"nil")). Please remember to sync the email identity to mParticle as soon as you receive it. We will now identify the user before creating the layout")
89
+
MPLog.warning("The existing email on the user (\(userEmailIdentity ??"nil")) does not match the email passed in to `selectPlacements:` (\(email ??"nil")). Please remember to sync the email identity to mParticle as soon as you receive it. We will now identify the user before creating the layout")
88
90
}
89
91
if hashedEmailMismatch {
90
-
print("The existing hashed email on the user (\(user.identities[hashedEmailIdentity ??NSNumber(value:-1)]??"nil")) does not match the email passed in to `selectPlacements:` (\(hashedEmail ??"nil")). Please remember to sync the hashed email identity to mParticle as soon as you receive it. We will now identify the user before creating the layout")
92
+
MPLog.warning("The existing hashed email on the user (\(user.identities[hashedEmailIdentity ??NSNumber(value:-1)]??"nil")) does not match the email passed in to `selectPlacements:` (\(hashedEmail ??"nil")). Please remember to sync the hashed email identity to mParticle as soon as you receive it. We will now identify the user before creating the layout")
0 commit comments