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
+
MPRoktLayout.mpLog("Initializing RoktLayout with argumentssdkTriggered:\(sdkTriggered.wrappedValue), viewName: \(viewName ??"nil"), locationName:\(locationName), attributes:\(preparedAttributes)")
37
37
self.roktLayout =RoktLayout.init(
38
38
sdkTriggered: sdkTriggered,
39
39
viewName: viewName,
@@ -44,7 +44,7 @@ public class MPRoktLayout {
44
44
)
45
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
46
46
if identifyCalled && sdkTriggered.wrappedValue {
47
-
MPLog.debug("Triggering Rokt Swift UI re-render")
47
+
MPRoktLayout.mpLog("Triggering Rokt Swift UI re-render")
48
48
DispatchQueue.main.async{
49
49
sdkTriggered.wrappedValue =false
50
50
sdkTriggered.wrappedValue =true
@@ -86,10 +86,10 @@ public class MPRoktLayout {
86
86
if emailMismatch || hashedEmailMismatch {
87
87
// If there is an existing email or hashed email but it doesn't match what was passed in, warn the customer
88
88
if emailMismatch {
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")
89
+
MPRoktLayout.mpLog("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")
90
90
}
91
91
if hashedEmailMismatch {
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")
92
+
MPRoktLayout.mpLog("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