function onclickLogin() { var username = $("#user_name").val(); var password = $("#password").val(); var deviceTokenParam = window.localStorage.getItem(regId_key); if(deviceTokenParam == null) { deviceTokenParam = "32e7c1fe27490699eea5ed6ba71f0628e89a528179bdd57ed3fd92der21b8e9c"; //hardcode here alert("deviceToken null"); } var str = '{"userId":"' + username + '", "password":"'+ password +'", "os":"' + deviceModel + '", "deviceToken":"' + deviceTokenParam + '", "categoryTimestamp":143675989000, "lang":"en"}'; console.log("the login str is: " + str); initWriteFile("username", username); console.log("Get from Local: window.localStorage.getItem(regId_key) is: " + window.localStorage.getItem(regId_key)); console.log("Get from Local: window.localStorage.getItem('categoryList') is: " + window.localStorage.getItem('categoryList')); console.log("Get from Local: window.localStorage.getItem('categoryListTimeStamp') is: " + window.localStorage.getItem('categoryListTimeStamp')); $.mobile.loading( "show" ); $("body").addClass('ui-disabled');
$.mobile.loading( "show" );$("body").addClass('ui-disabled');
Dear All,I built an app using Cordova 5.1.1 and I submitted it to iTunes for apple review.However, the app was rejected by Apple since Apple review team reported that the "Log in" button was not responsive when tapped.Did anyone encounter this kind of problem? i.e. not able to reproduce the bug that reported by Apple review team or un-responsive buttons ?
I would like to discuss more on our case.
Although Apple Review Team has accepted the app, we still experience it as an intermittent error; we have one reported case so far. The victim is using iPhone 5, newly upgraded to v9.1. She was able to install it from App Store, successfully operated the app on the first day but failed again (same Button not responsive error) from second day and onward.
We had tried to simulate the error using other resources but in vain; we tried iPad, iPhone 4, 5S, (another) iPhone 6, 6 S Plus, all showed positive results.
Does anyone have any idea on this problem? Is it possible that it is related to the speed of the processor of the phone?
We are really stuck and puzzled. We appreciate any help from you. Thanks in advance!