js-evaluator-for-android
js-evaluator-for-android copied to clipboard
Do you have anything equalent to iOS or Swift or Objective-c?
I am looking for a iOS equivalent of your code. can you suggest any of your work or other third parties. @evgenyneu @codebymikey @sittingbool
Hi @JayakarVangeti, you can look at the builtin JavaScriptCore library on iOS: https://stackoverflow.com/a/37435316/297131
@evgenyneu Hey, Thanks for responding.
//This code is taken from YoutubeExtractor project which uses your code to decipher signatures.
let jsSource = "var testFunct = function(message) { return \"Test Message: \" + message;}"
new JsEvaluator(context).evaluate(jsSource , new JsCallback() {
@Override
public void onResult(String result) {
try {
decipheredSignature = result;
} finally {
}
}
Here the above code deciphers the function code, I've Tried the iOS code of the link you have given it just simply reading the strings out. I need the deciphered strings, can you help me out here. Please.
@JayakarVangeti, sorry I'm a bit busy at the moment. I would suggest asking on stackoverflow.com, you will get help very fast there (if you ask specific question). :)