[
https://issues.apache.org/jira/browse/CB-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714277#comment-13714277
]
Adam George edited comment on CB-4085 at 7/20/13 12:51 AM:
-----------------------------------------------------------
Same issue here.
Neither Arrays nor Objects can be passed in as plugin arguments for
cordova.exec on OSX at the moment.
E.g.
{code}
cordova.exec(
null,
null,
'MyPlugin',
'myMethod',
['strings_work', {'key': 'objects_dont_work'}, ['arrays_dont_work']]
);
{code}
I'm hoping a fix can be out before 3.1.0 though ?! :(
was (Author: asgeo1):
Same issue here.
Neither Arrays nor Objects can be passed in as plugin arguments for
cordova.exec on OSX at the moment.
E.g.
{code}
cordova.exec(null, null, 'MyPlugin', 'myMethod', ['strings_work', {'key':
'objects_dont_work'}, ['arrays_dont_work']]);
{code}
I'm hoping a fix can be out before 3.1.0 though ?! :(
> Add ArrayBuffer parameter support to OS X platform
> --------------------------------------------------
>
> Key: CB-4085
> URL: https://issues.apache.org/jira/browse/CB-4085
> Project: Apache Cordova
> Issue Type: Improvement
> Components: OSX
> Affects Versions: 2.9.0
> Environment: OS X 10.8.4
> Reporter: Tyler W. Wilson
> Assignee: Shazron Abdullah
> Labels: features
> Fix For: 3.1.0
>
>
> I have found that passing an ArrayBuffer as a parameter gets dropped due to
> the code in CDVBridge.m in the function convertWebScriptObjectToNSArray. It
> works fine in the iOS platform, so I would expect it would work in the OS X
> platform.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira