cozy / cozy-flagship-app

GNU Affero General Public License v3.0
9 stars 1 forks source link

Find a way to automatically import serialization methods from WebviewCrypto #251

Open Ldoppea opened 2 years ago

Ldoppea commented 2 years ago

In https://github.com/cozy/cozy-react-native/pull/250 I introduced the jsSerializeCrypto.js file

This file is generated by retrieving the https://github.com/webview-crypto/webview-crypto project, modifying src/WebViewWorker.ts to export parse and stringify methods from serializeBinary.js, bulding the project and then copy/pasting the results into our project.

An easier solution should be found.

A first solution would be to fork the project, make the modifications and create a new Cozy NPM package.

Do you think of any better solution?

acezard commented 1 year ago

@Ldoppea do you think this issue is still relevant? (I'm available to talk about it)