Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCTResponseSenderBlock Bridging Not Compiling Properly #1326

Open
dmyoung1994 opened this issue Jan 27, 2025 · 9 comments
Open

RCTResponseSenderBlock Bridging Not Compiling Properly #1326

dmyoung1994 opened this issue Jan 27, 2025 · 9 comments

Comments

@dmyoung1994
Copy link

Before open an issue

  • Check the closed issues, your question maybe is not new.
  • We can't debug or reproduce hardware issue.
  • If the library is not working 99% you did something wrong, in the code, installation or in the phone permissions.

Describe the bug
Including the react-native-ble-manager in a project and building the project for iOS results in a compile bug where RCTResponseSenderBlock is not included properly

To Reproduce
Steps to reproduce the behavior:

  1. Include react-native-ble-manger in expo project
  2. Use the events that get called like onDiscoverPeripheral
  3. Run npx expo run:ios
  4. See error

Expected behavior
Including the library in a project compiles correctly.

Screenshots
Image

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] iPhone 15 (physical device and simulator)
  • OS: [e.g. iOS8.1] iOS 17.6.1
  • react-native-ble-manager version: 12.1.3
  • react-native version: 0.76.6

Additional context
Full package.json dependencies

  "dependencies": {
    "@expo/config-plugins": "~9.0.0",
    "@expo/prebuild-config": "~8.0.0",
    "@expo/vector-icons": "^14.0.0",
    "@react-native-async-storage/async-storage": "1.23.1",
    "expo": "~52.0.0",
    "expo-blur": "~14.0.3",
    "expo-build-properties": "~0.13.2",
    "expo-camera": "~16.0.14",
    "expo-constants": "~17.0.4",
    "expo-contacts": "~14.0.3",
    "expo-device": "~7.0.2",
    "expo-linking": "~7.0.4",
    "expo-location": "~18.0.5",
    "expo-router": "~4.0.17",
    "expo-status-bar": "~2.0.1",
    "expo-system-ui": "~4.0.7",
    "react": "18.3.1",
    "react-native": "0.76.6",
    "react-native-ble-manager": "^12.1.3",
    "react-native-get-random-values": "~1.11.0",
    "react-native-permissions": "^5.1.0",
    "react-native-qrcode-svg": "^6.3.2",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "~4.4.0",
    "react-native-share": "^12.0.3",
    "react-native-svg": "15.8.0",
    "uuid": "^11.0.3"
  },
@dmyoung1994
Copy link
Author

After messing around and getting ever package updated properly, this no longer occurs

@K-Jean
Copy link

K-Jean commented Jan 28, 2025

@dmyoung1994 Hi ! I have the same error, do you know which package was the problem ?

@CrazyGitter
Copy link

@dmyoung1994 Hi ! I have the same error, do you know which package was the problem ?

Hello, have you solved the problem?

@CrazyGitter
Copy link

After messing around and getting ever package updated properly, this no longer occurs

Hello, have you solved the problem?

@dmyoung1994
Copy link
Author

dmyoung1994 commented Feb 7, 2025 via email

@dmyoung1994 dmyoung1994 reopened this Feb 7, 2025
@hakeemsyd
Copy link

@dmyoung1994 any luck with this ? i am getting same..

@faxioman
Copy link

faxioman commented Feb 13, 2025

Any feedback on this?
Expo 52.0.33 here.

@dmyoung1994
Copy link
Author

dmyoung1994 commented Feb 13, 2025 via email

@faxioman
Copy link

@marcosinigaglia is our only hope 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants