Skip to content

"bluetooth-central" background mode error on iOS #530

Closed
@alextran1502

Description

@alextran1502

Hello,

I am having an error when the phone starts to scan for devices on iOS. It would crash the app and throw the exception in Xcode console as follow

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'State restoration of CBCentralManager is only allowed for applications that have specified the "bluetooth-central" background mode'
terminating with uncaught exception of type NSException

Here is the full logs
Screen Shot 2020-09-28 at 4 53 00 PM

I have put the NSBluetoothAlwaysUsageDescription into Info.plist.

Am I missing anything here to have the Bluetooth module working?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions