-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support for permissions and pairing pop-ups #64
Comments
Hello, I'll think about it. But the next release of the lib isn't planned this year, i need to transition to other projects now. |
The possibility to set encryption on read/writes or subscriptions on values changes would be a nice enhancement since many peripherals utilise that. |
Hi @larsamannen, I've just noticed your message. Encryption is transparent from the app perspective. Apps just send and receive values, which are or are not encrypted on lower layers. On iOS you don't know whether the device is bonded or not, there's no API. And regarding subscriptions for value changes, it is already there. You may call |
Thanks for the answer. Then this is all a lower layer thing in CBM which can't be controlled by the mock.
|
When developing apps with pairing flows it's critical to be able to take into account the effect of these pop ups on the user experience. For example CB does not give any indication that a permission or pairing pop up is visible. For the pairing pop up specifically, it does not even tell you if the user rejected it, pairing simply fails with some obscure insufficient encryption error.
Being able to simulate this behaviour with the mocks will make it easier to develop the UX for these scenarios without a real device.
The text was updated successfully, but these errors were encountered: