[AC-1764] Problem in IOS module when trying to return a int64 value
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-09-18T08:06:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules |
Labels | int64, ios, modules |
Reporter | Armindo Da Silva |
Assignee | Shak Hossain |
Created | 2013-09-18T07:58:38.000+0000 |
Updated | 2016-03-08T07:40:39.000+0000 |
Description
Hi, When I build a IOS module using sdk 3.1.2.GA, I have a problem trying to return int64 value.
{panel:title=The Obj-C Function| borderStyle=dashed| borderColor=#ccc| titleBGColor=#F7D6C1| bgColor=#FFFFCE}
-(int64) getCustomerId:(id)args
{
int64 customerId =1;
NSLog(@"Customer Id %lli", customerId);
return customerId;
}
{panel}
The value received in the app is : 938417712643042800 this works in SDK vers 2.X and maybe in 3.0 but not in 3.1.2.GA and 3.1.1.GA
Any idea of how to solve this ? is it a bug in the sdk ?
Regards
Armindo
Hello, Can you post some runnable test code, which I can test?
Hello, We tested this issue with the sample module code below. This is an invalid issue since we can't reproduce it. Let us know if this get any error with our sample.
Test Environment:
MAC OS X 10.8.5 XCode 5.0.2 IOS SDK 7.0.3Test Code
Closing since we are getting no additional updates from the original reporter and we can't reproduce it.