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

Browser and react native support #3

Open
berendsliedrecht opened this issue Mar 1, 2024 · 4 comments
Open

Browser and react native support #3

berendsliedrecht opened this issue Mar 1, 2024 · 4 comments

Comments

@berendsliedrecht
Copy link

Hi! Great to see some mDL libraries popping up, but I was wondering whether it is on the roadmap to add support for the browser, React Native and possibly also other environments? A library like this would be very nice to have in React Native for the proximity flows and you'd only have to implement NFC or BLE on the native side.

@dschenkelman
Copy link
Contributor

Hey @berendsliedrecht thanks for the feedback. We have tried this in the browser and it works. We use it for verification in mdl.me.

Haven't tried React Native though. Could you share a bit more about your use case? We are taking inputs on where to take the lib next and would like to learn more.

@berendsliedrecht
Copy link
Author

That mdl.me website looks very nice, thanks for sharing it!

The main use case I am thinking about is support for the proximity proof sharing flow that is required for the Architecture Reference Framework (ARF) defined by the EU. I know that there are some other companies working on things like NFC and BLE transports for mDL, but they could be leveraging this library for everything else.

Compatibility for RN always comes down to some minor primitives that are not implemented, yet. IIRC cbor libraries are well known for struggling with RN support, but I am not sure about cbor-x, and whether it has support for RN.

@dschenkelman
Copy link
Contributor

Gave it a quick try in RN and it did not work out of the box. Might be a small thing.
We are not focused on RN/mobile cases (yet) so it might take us a bit to get to it. If you want to take the lib for the spin and contribute a working fix you are more than welcome to!

@lukasjhan
Copy link

Hi @berendsliedrecht I started a platform-agnostic mdl project in OWF: https://github.com/openwallet-foundation-labs/mdl-js
It's still working in process and I have a plan to support 18013-7 :)

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

3 participants