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

Add method to mdoc API to get handle the native DeviceRequest and DeviceResponse #2178

Open
TimoGlastra opened this issue Feb 5, 2025 · 0 comments

Comments

@TimoGlastra
Copy link
Contributor

  • Get credentials for request
  • Select crednetials for request
  • Create device response

This can be used in combination with https://github.com/animo/expo-mdoc-data-transfer to have easy proxmity flow.

Basically you:

  • Initialize bluetooth connection using data transfer lib
  • handle request, find credentials
  • show credentials to user. optionally let user select
  • create device response
  • send it using the data transfer lib

We could optionally incorporate the mdoc-data-transfer lib as an optional peer dependency to make it even easier, but even then it's nice to have support for the native mDOC request/response handling

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

1 participant