Skip to content

Crash in BLETransport APIs when React Native version is 0.81.4 (Recommended by Expo 54) #1310

@sweetbot

Description

@sweetbot

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed

Expected Behavior

When React Native is 0.79.6, it works. This bug blocks our upgrade to Expo 54 and RN 0.81.4.

Current Behavior

Crash when calling open and disconnect. Scan works.

Library version

3.4.0, 3.5.0

Device

Android

Environment info

Android, Expo

Steps to reproduce

Use "react-native": "0.81.4"

Formatted code sample or link to a repository

Use this combo, it works, change to 0.81.4, it won't work
 "@ledgerhq/hw-app-solana": "7.2.2",
    "@ledgerhq/react-native-hw-transport-ble": "6.33.2",
    "buffer": "^6.0.3",
    "expo": "~54.0.0",
    "expo-asset": "~11.1.7",
    "expo-status-bar": "~3.0.8",
    "react": "19.0.0",
    "react-native": "0.79.6", // "0.81.4"
    "react-native-ble-plx": "3.4.0",

Relevant log output

LOG  🔗 [DEBUG] Attempting TransportBLE.open with device ID: EF:C3:DF:F9:34:21

Parameter specified as non-null is null: method com.facebook.react.bridge.PromiseImpl.reject, parameter code
reject
CharacteristicsForDevice
BlePlxModule.java:527

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions