-
Notifications
You must be signed in to change notification settings - Fork 360
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
peripheral.canSendWriteWithoutResponse change to false after enter background #388
Comments
Hello, |
I am not sure if it is a system restriction. but if yes, why the property canSendWriteWithoutResponse won't change to true when i back to foreground. in my app, i used a BLE background mode ,so my app won't be suspend by system.the app can still invoke the write method.but because of this property, it will never really invoke "writeOperationPerformingAndListeningObservable" |
peripheral.canSendWriteWithoutResponse change to false after enter background,then the in the function : "writeValue(_ data: Data,
for characteristic: Characteristic,
type: CBCharacteristicWriteType,
canSendWriteWithoutResponseCheckEnabled: Bool = true) -> Single". will not send the data.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
canSendWriteWithoutResponse will never change to false
Environment:
The text was updated successfully, but these errors were encountered: