Description
I was working on updating the example project to run iOS 14 by adding the following to Runner/Info.plist
<key>NSBonjourServices</key>
<array>
<string>_dartobservatory._tcp</string>
</array>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>The app uses bluetooth to find, connect and transfer data between different devices</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>The app uses bluetooth to find, connect and transfer data between different devices</string>
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>
</array>
And in ergblemanager.dart
I added a restoreStateIdentifier.
Future<void> init() async {
await _manager.createClient(restoreStateIdentifier: "example-restore-state-identifier");
}
Now the error I'm stuck on is the following:
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: BleError (Error code: 103, ATT error code: null, iOS error code: null, Android error code: null, reason: Reason not provided, internal message: null, device ID: null, service UUID: null, characteristic UUID: null, descriptor UUID: null)
Metadata
Metadata
Assignees
Labels
No labels