Skip to content

Commit 71551c9

Browse files
authored
Merge pull request #474 from apptentive/fix-device-custom-data
Fix diffing of device so as not to lose custom data
2 parents d6b5d47 + 9fa6a49 commit 71551c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Apptentive/Apptentive/Engagement/Model/ApptentiveConversation.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ - (void)checkForDiffs {
196196
}
197197

198198
// See if any of the non-custom device attributes have changed
199-
_device = [[ApptentiveDevice alloc] initWithCurrentDevice];
199+
[self.device updateWithCurrentDeviceValues];
200200

201201
[self checkForDeviceDiffs];
202202
}

0 commit comments

Comments
 (0)