localRegistrationId should be int