Skip to content

bug: Already paired devices do not show up when scanning for nearby devices #508

@mahnuh

Description

@mahnuh

Plugin(s)

  • Android Battery Optimization
  • Android Dark Mode Support
  • Android Edge-to-Edge Support
  • Android Foreground Service
  • App Review
  • App Shortcuts
  • App Update
  • Asset Manager
  • Audio Recorder
  • Background Task
  • Badge
  • Bluetooth Low Energy
  • Cloudinary
  • Contacts
  • Datetime Picker
  • File Compressor
  • File Opener
  • File Picker
  • Live Update
  • Managed Configurations
  • NFC
  • Photo Editor
  • Posthog
  • Printer
  • Screen Orientation
  • Screenshot
  • Speech Recognition
  • Speech Synthesis
  • Torch
  • Zip

Version

7.2.0

Platform(s)

  • Android
  • iOS
  • Web

Current behavior

Already paired devices do not show up when scanning for bluetooth devices.

Expected behavior

I would expect to also see paired devices.

Reproduction

https://github.com/mahnuh/bluetooth-playground

Steps to reproduce

In the example repo:

  1. Scan for devices
  2. Pair the device (you might need to update things to pair an actual device you have available)
  3. Check that device is paired in iOS settings
  4. Restart the app and scan again
  5. You are not able to see the already paired device and also trying to connect to it will fail with a timeout

Other information

Trying to connect with an AirTurn page turner.

Capacitor doctor

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/android: 7.2.0
@capacitor/ios: 7.2.0

Installed Dependencies:

@capacitor/android: not installed
@capacitor/cli: 7.2.0
@capacitor/core: 7.2.0
@capacitor/ios: 7.2.0

[success] iOS looking great! 👌

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

Metadata

Metadata

Assignees

No one assigned

    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