Problem Description
Hi,
I have a strange issue,can sb help me,thx.
1.This is a simple C2 project: one layout,one event:click and alert("ok");
2.My all games wrapped with phonegap and cordova are all like above project (but crosswark is ok);
3. I exported this project to phonegap or android;
4.I built it with phonegap build service(http://build.phonegap.com) or built it locally with CLI of phonegap(or cordova),
the index.html loaded twice,the two pages overlap partly, and the game event fired twice;
5. But phonegap sample project has no this issue, and if i newed a html without all C2's js files ( ie. c2runtime.js,ect),
it worked fine too;
6.c2runtime.js is too complex to me,can sb help me to solved it
Attach a Capx
see the attchement
Description of Capx
This is a simple C2 project: one layout,one event:click and alert("ok");
Steps to Reproduce Bug
- Step 1: expot to phonegap
- Step 2: build with build.phonegap.com or CLI of phonegap
- Step 3:install in android phone
Observed Result
the index.html loaded twice ,events fired twice
Expected Result
the index.html loaded once,events fired once only
Affected Browsers
Operating System and Service Pack
_ android 4.1.2
Construct 2 Version ID
release 175(32-bit)