Ver Fonte

contrast mobile 1.99 230106

Remove blue device filter for the device discovery
Ray Zhang há 3 anos atrás
pai
commit
5f5d6fae10
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      RedAnt ERP Mobile/common/AppDelegateBase.m

+ 2 - 2
RedAnt ERP Mobile/common/AppDelegateBase.m

@@ -4017,8 +4017,8 @@ void UncaughtExceptionHandler(NSException *exception) {
 //    NSLog(@"didDiscoverPeripheral");
     
     NSArray* pservice = advertisementData[@"kCBAdvDataServiceUUIDs"];
-    if(pservice.count<=0)
-        return;
+//    if(pservice.count<=0)
+//        return;
     if(peripheral.name.length<=0)
         return;
 //    _peripheral = peripheral;