diff --git a/App/ios/Libraries/RFID/Chainway/RFIDBluetoothManager.m b/App/ios/Libraries/RFID/Chainway/RFIDBluetoothManager.m index 42314ee1..afc758c4 100644 --- a/App/ios/Libraries/RFID/Chainway/RFIDBluetoothManager.m +++ b/App/ios/Libraries/RFID/Chainway/RFIDBluetoothManager.m @@ -2153,7 +2153,7 @@ - (NSMutableArray *)peripheralArray { - (CBCharacteristic *)myCharacteristic { if (_myCharacteristic == nil) { - _myCharacteristic = [CBCharacteristic new]; + _myCharacteristic = [CBCharacteristic alloc]; } return _myCharacteristic; }