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

How can I run the code on my iPhone under iOS? #81

Open
John1843 opened this issue Sep 12, 2016 · 2 comments
Open

How can I run the code on my iPhone under iOS? #81

John1843 opened this issue Sep 12, 2016 · 2 comments

Comments

@John1843
Copy link

Has anyone an idea of how to run this code on an iOS device?

@mhamann
Copy link
Contributor

mhamann commented Sep 12, 2016

This is just Javascript, so you could technically run it in a UIWebView like this: http://stackoverflow.com/questions/8886443/calling-javascript-using-uiwebview

If you want to run it in the background, you'd need something like Apache Cordova, which would probably be something of a headache.

In any case, you'll need to compile this into a single JS file via something like browserify since this is designed to run on a platform supporting CommonJS (which web browsers do not).

@John1843
Copy link
Author

Thank you. I tried it but did not succeed. I created a question on StackOverflow with more details.

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