Skip to content

requestLEScan not working if started a second time #799

@steinerjakob

Description

@steinerjakob

Describe the bug
If I trigger the requestLEScan a second time after the previous scan was stopped with stopLEScan, no devices are reported. After restarting the App, the scan does work again. This happens on Android an iOS.

To Reproduce
Steps to reproduce the behavior:

  1. Start requestLEScan
  2. Stop stopLEScan
  3. Start requestLEScan again
  4. See error

Expected behavior
After the second start, nearby devices should be listed

Screenshots
Version 7.2.0 did work fine:

Screen_Recording_20260130_071427_OnSite.Companion.mp4

Version 7.3.1:

Screen_Recording_20260130_071835_OnSite.Companion.mp4

Plugin version:

  • @capacitor-community/bluetooth-le: 7.3.1

Smartphone (please complete the following information):

  • Device: Samsung S24 and iPhone Xr

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions