readability icon indicating copy to clipboard operation
readability copied to clipboard

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

Open John1843 opened this issue 8 years ago • 2 comments

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

John1843 avatar Sep 12 '16 15:09 John1843

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

mhamann avatar Sep 12 '16 17:09 mhamann

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

John1843 avatar Dec 30 '16 11:12 John1843