In iOS: "JavaScript is required. Please enable it to continue."

0 votes
asked Dec 4 by Charlie (4,530 points)

I'm trying to get my game to run on an iOS device, but I keep getting the error message:

JavaScript is required.  Please enable it to continue.

I've tried this using Safari and Chrome on an iPhone, and Safari on an iPad.  I confirmed that JavaScript is enabled on all three browsers (by visiting https://www.whatismybrowser.com/detect/is-javascript-enabled ), but the error message still appears.

Does anybody know how to fix this?

 

1 Answer

+1 vote
answered Dec 4 by TheMadExile (22,250 points)
selected Dec 5 by Charlie
 
Best answer
Is your compiled file local to the device or are you retrieving it from a network location?  Is it as it was originally compiled or have you made modifications to the file?
commented Dec 4 by Charlie (4,530 points)

The compiled file is a link on my dev blog.  It's the same link I can use to play the game on my desktop computer.  Do I need to compile the iOS version differently?

 
commented Dec 4 by TheMadExile (22,250 points)
edited Dec 4 by TheMadExile

Can you provide the link, so I can look at the file?

Edit: Also, what version of iOS?  I ask because I just tried various projects over the network on my iPhone, which is running iOS 11.1.2, and had no issues.

commented Dec 5 by Charlie (4,530 points)

Thanks, Exile!  My game is for adults, so posting a link here is not really suitable.  But just the fact that you've been able to get your Twine files working on iOS 11.1.2 is helpful info – at least now I know it's my code at fault, not the platform itself.

 
commented Dec 5 by TheMadExile (22,250 points)

Well, if you decide that you want me to take a look, neither of my e-mail addresses are particularly difficult to find and I may also be found on the twinegames Reddit and the Technical Support forum at TFGamesSite.

commented Dec 5 by Charlie (4,530 points)

Thanks!  But I figured it out.  smiley

What I thought was a link – on my Patreon page – to the compiled HTML file, was actually a link to an attached file.  No wonder it didn't work!

The solution was to upload the compiled HTML file to a different web page, and link to that.  Thanks for helping me, Exile, even though in the end I was just being a dumbass.

 
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...