Our RegisteredForRemoteNotifications code broke because the token was retrieved with:
deviceToken.ToString().Trim(\'<\').Trim(\'>\').Replace(\" \", \"\
You can use a more simplified version:
var bytes = deviceToken.ToArray(); var token = BitConverter.ToString(bytes).Replace("-", "");