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

Do you have anything equalent to iOS or Swift or Objective-c? #45

Open
JayakarVangeti opened this issue Mar 1, 2018 · 3 comments
Open

Comments

@JayakarVangeti
Copy link

I am looking for a iOS equivalent of your code. can you suggest any of your work or other third parties.
@evgenyneu @codebymikey @sittingbool

@evgenyneu
Copy link
Owner

Hi @JayakarVangeti, you can look at the builtin JavaScriptCore library on iOS: https://stackoverflow.com/a/37435316/297131

@JayakarVangeti
Copy link
Author

JayakarVangeti commented Mar 2, 2018

@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.

@evgenyneu
Copy link
Owner

@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). :)

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

2 participants