HTML5 Game + Andromo App Maker

Discussion and feedback on Construct 2

Post » Fri May 16, 2014 11:53 am

I ve been making html5 games for website using construct 2. I wanted to make it available on android too so i tried to build it using andromo. I want to use andromo as it is easy to monetize my app using admob ads without any mediation. I uploaded the zip file following all the proper instructions with the main file being index.html and built the app. But when i access it in my app i get an error saying :

"Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)"

What can i do to make my game run offline using andromo html activity?
B
4
Posts: 1
Reputation: 277

Post » Sat May 17, 2014 1:28 am

Open the index file in notepad. Look for this line in the code:

Code: Select all
<script>
   // Issue a warning if trying to preview an exported project on disk.
   (function(){
      // Check for running exported on file protocol
      if (window.location.protocol.substr(0, 4) === "file")
      {
         alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
      }
   })();
   </script>


Delete that and that error message will go away. Now I am not sure if bugs will pop up in the future but it will definitely make the error message go away.
B
10
S
2
Posts: 30
Reputation: 722


Return to Construct 2 General

Who is online

Users browsing this forum: tarek2 and 7 guests