Skip to content

Instantly share code, notes, and snippets.

View sashamace's full-sized avatar

Sasha Mace sashamace

View GitHub Profile
@sashamace
sashamace / UAUser.m
Created August 15, 2011 18:09
uauser diff
diff --git a/Airship/Common/UAUser.m b/Airship/Common/UAUser.m
index dce379f..fbe8fba 100755
--- a/Airship/Common/UAUser.m
+++ b/Airship/Common/UAUser.m
@@ -481,18 +481,28 @@ static UAUser *_defaultUser;
[self saveUserData];
+ // Make sure we do a full user update with any device tokens, we'll unset this if it is not needed
+ [UAirship shared].deviceTokenHasChanged = YES;