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

Copy native configuration to JS #51

Open
hvge opened this issue May 31, 2023 · 0 comments
Open

Copy native configuration to JS #51

hvge opened this issue May 31, 2023 · 0 comments
Assignees

Comments

@hvge
Copy link
Member

hvge commented May 31, 2023

The big portion of this library's code are routines that convert configuration from JavaScript object to the native Malwarelytics configuration. To be sure that everything works properly we should implement code that convert an effective configuration used in the native code back to the JavaScript. This will help the testing a lot.

The conversion may maintain a native configuration's hierarchy to minimize the errors in the backward conversion. In other words, we don't need to convert Android's RASP config booleans back to types used in the TS.

The code should be available only if library is compiled in DEBUG. The interface should be available also for app developers.

@hvge hvge self-assigned this May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant