Page 1 of 2

Having Trouble opening app on iPhone.

Posted: Fri Mar 07, 2014 10:55 pm
by adam griffin

I have just downloaded the .ipa to test on iPhone. It worked perfectly until I click out of the app. I tried to go back into the app but it never reopened. I even tried uninstalling the app and re-installing it back on to the iPhone. It still does not open.


Having Trouble opening app on iPhone.

Posted: Fri Mar 07, 2014 11:27 pm
by Igor

Hello,

Could you show us the error from app crash report?
http://help.getpocket.com/customer/po...
https://developer.apple.com/library/i...


Having Trouble opening app on iPhone.

Posted: Fri Mar 07, 2014 11:56 pm
by adam griffin

I fixed it.


Having Trouble opening app on iPhone.

Posted: Fri Mar 07, 2014 11:58 pm
by adam griffin

How can i fix the time issue with iPhone. On my galaxy s4, on load event I load a date from the database into a label i get the date back correctly, but on the iPhone 5c and iPhone 4s I get the date back as NaN/NaN/NaN. How can this be fixed????


Having Trouble opening app on iPhone.

Posted: Sat Mar 08, 2014 12:16 am
by Igor

Lets try to use this code in your service mapping Add JS:
pre
code
var d = new Date(value);
return d.toLocaleDateString();
/code
/pre


Having Trouble opening app on iPhone.

Posted: Sat Mar 08, 2014 12:25 am
by adam griffin

it didnt work... I tried this code to format it into a variable.

var d = $.datepicker.formatDate('mm/dd/yy', new Date(value));
return d.toLocaleDateString();


Having Trouble opening app on iPhone.

Posted: Sat Mar 08, 2014 12:27 am
by adam griffin

This is the error it gave..

Object 03/07/2014 has no method 'toLocaleDateString'


Having Trouble opening app on iPhone.

Posted: Sat Mar 08, 2014 12:37 am
by Igor

Lets try solution from this topic:
https://getsatisfaction.com/apperyio/...


Having Trouble opening app on iPhone.

Posted: Sat Mar 08, 2014 1:00 am
by adam griffin

How can i get the date into the format mm/dd/yy using the code
d = new Date(value);
return d.toISOString().replace("T"," ").replace("Z","");


Having Trouble opening app on iPhone.

Posted: Sun Mar 09, 2014 8:03 am
by Alena Prykhodko