Problem Description
Projects that are previewed or exported with the built in browser plugin fail to load on any ios browser. (specifically iPads)
Note that I was told about this problem by someone who plays my games and I decided to investigate it. The problem started only after I updated the project recently. The previous version of the game was built on the 27th of July, 2016. (This is not my main project) Based on the fact that I keep C2 updated with the latest beta version, I was probably using version r231 at that time.
Attach a Capx
https://www.dropbox.com/s/r24pg2gt06w6kcm/testproject.capx?dl=1
Exported version here:http://instructor-benedict-44161.bitballoon.com/
Description of Capx
Capx is a completely blank project with the browser plugin added
Steps to Reproduce Bug
- Create new project
- Add browser plugin
- Export or preview project
Observed Result
Preview
Javascript error!
SyntaxError: Unexpected use of reserved word 'let' in strict mode
Browser_plugin.js, line 54 (col 0)
Assertion failure: A plugin is missing.
Check the plugin IDs match in edittime and runtime scripts.
Note this can also occur...
(then black screen)
Exported
Black screen, no errors.
Expected Result
Project loads
Affected Browsers
Windows
- Chrome: (NO)
- FireFox: (NO)
- Edge: (NO)
- Internet Explorer: (NO)
Android
- Chrome: (NO)
- FireFox: (NO)
iOS
- Chrome: (YES)
- FireFox: (YES)
- Safari: (YES)
Operating System and Service Pack
PC: Windows 10 64 bit
iPad: iPad 2, ios version 9.3.5 (my only ios device)
Construct 2 Version ID
Release 240 64bit