You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/07 00:19:11 UTC
[GitHub] [cordova] onelsonic opened a new issue #204: V8 Heap Snapshot for
android - protects the javascript code
onelsonic opened a new issue #204: V8 Heap Snapshot for android - protects the javascript code
URL: https://github.com/apache/cordova/issues/204
Hi there,
please correct me if I am wrong.
On android Cordova is using the V8 JavaScript Engine?
So theoretically we should be able to enable the use of V8 Heap Snapshot in Cordova for Android?
With this we should be able to protect the Javascript Source code of the App created?
I haven't found anything about this for Cordova.
V8 Snapshots :
https://v8.dev/blog/custom-startup-snapshots
The same technique is use in Atom and NW.js.
https://flight-manual.atom.io/behind-atom/sections/how-atom-uses-chromium-snapshots/
https://nwjs.readthedocs.io/en/latest/For%20Users/Advanced/Protect%20JavaScript%20Source%20Code/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek commented on issue #204: V8 Heap Snapshot for
android - protects the javascript code
Posted by GitBox <gi...@apache.org>.
breautek commented on issue #204: V8 Heap Snapshot for android - protects the javascript code
URL: https://github.com/apache/cordova/issues/204#issuecomment-596034553
Cordova doesn't interface with V8 at all. It simply just interfaces with a webview (which happens to be chrome on android). And even then, we don't have direct access. Cordova only access to the java apis documented at https://developer.android.com/reference/android/webkit/WebView
Not sure how it would be possible to get what you want (that would be a research project in itself), but I think it would involve bundling native libraries, and having a plugin that exposes native c methods to java (via jni) and having a Cordova plugin that handles the javascript to java api calls.
I'm closing the issue because this is not something Cordova will support. It is more appropriate as a third party plugin. We do welcome further discussion on our [slack](http://slack.cordova.io/)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] onelsonic commented on issue #204: V8 Heap Snapshot for
android - protects the javascript code
Posted by GitBox <gi...@apache.org>.
onelsonic commented on issue #204: V8 Heap Snapshot for android - protects the javascript code
URL: https://github.com/apache/cordova/issues/204#issuecomment-596078298
ok thanks for your feedback, I will digg this around.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[GitHub] [cordova] breautek closed issue #204: V8 Heap Snapshot for android
- protects the javascript code
Posted by GitBox <gi...@apache.org>.
breautek closed issue #204: V8 Heap Snapshot for android - protects the javascript code
URL: https://github.com/apache/cordova/issues/204
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org