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

Unable to connect to iOS app #172

Closed
radivojeostojic opened this issue Dec 16, 2020 · 2 comments
Closed

Unable to connect to iOS app #172

radivojeostojic opened this issue Dec 16, 2020 · 2 comments
Labels
awaiting response iOS iOS-specific ticket

Comments

@radivojeostojic
Copy link

I am getting this almost immediately after BleStatus.ready:

`Assertion failed: file flutter_reactive_ble/ConnectTaskController.swift, line 16
Assertion failed: file flutter_reactive_ble/ConnectTaskController.swift, line 16

  • thread Update dependencies #1, queue = 'com.apple.main-thread', stop reason = Assertion failed
    frame #0: 0x00000001adc64e50 libswiftCore.dylib_swift_runtime_on_report libswiftCore.dylib_swift_runtime_on_report:
    -> 0x1adc64e50 <+0>: ret
    libswiftCore.dylib_swift_reportToDebugger: 0x1adc64e54 <+0>: b 0x1adc64e50 ; _swift_runtime_on_report libswiftCore.dylib_swift_shouldReportFatalErrorsToDebugger:
    0x1adc64e58 <+0>: adrp x8, 334858
    0x1adc64e5c <+4>: ldrb w0, [x8, #0x4b0]
    Target 0: (Runner) stopped.
    Lost connection to device.
    `

On Android everything works fine

@werediver
Copy link
Collaborator

werediver commented Dec 23, 2020

You are mentioning BleStatus.ready. Does this mean you are waiting till the BLE API interface is ready before making any further calls to the BLE API?

It looks like you may be making the "connect" call before the BLE interface is ready, at least I think that could lead to a similar issue.

This may even be a duplicate of #147.

@werediver werediver added the iOS iOS-specific ticket label Dec 23, 2020
@remonh87
Copy link
Contributor

remonh87 commented Jan 4, 2021

I assume the issue is resolved feel free to reopen if this is not the case.

@remonh87 remonh87 closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response iOS iOS-specific ticket
Projects
None yet
Development

No branches or pull requests

3 participants