changed device token config param to NSData