안드로이드 개발 질문/답변
(글 수 45,052)
String canonicalRegId = result.getCanonicalRegistrationId();
if (canonicalRegId != null) { <=== 요것이 에러인가요? 전송은 되는거 같은데요.
// same device has more than on registration ID: update database
System.out.println("same device has more than on registration ID: update database");
gcmResult.ERROR_CODE = GCMServerError.ERROR_CANOCIAL_REGISTRATION_ID;
gcmResult.ERROR_MSG = canonicalRegId;
}
else
{
gcmResult.ERROR_CODE = GCMServerError.ERROR_SUCCESS;
}