Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

The JavaScript code like this:

var ccid = localStorage.getItem("_copCouponID");
if (ccid == null){
create_copcoupon.execute();
} else {
update_copcoupon.execute();
}

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

When I run on Android phones can judge whether you want to create or modify according to CCID, and not available to iphone mobile phone.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

What iOS version is it? Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a http://docs.appery.io/documentation/s...
Also tell steps to test.

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

I am so sorry that I don't have a complete project, I just saw my friend show me the results, the same Javascript code in iphone cell phone has no effect.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

Crystal,

We need the exact steps to reproduce this behaviour. Where does your friend run this code?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

Why the same JS code in the Android mobile phone system can display results, and has no effect on iphone cell phone?

Hi,
I have resolved the problem, because the Javascript code I write in IOS is not compatible, so I modified the code. Thank you!

Return to “Issues”