Arguments passed to plugins were accidentally being double-wrapped. This update properly removes the wrapping so that plugin developers don't always have to read from index [0]. Additionally, other platforms did not have this double wrapping.
Description
Updated the IPC handler to expand the args that are passed to plugins.
Testing
npm t
cordova build electron
cordova run electron --nobuild
Checklist
[x] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
Platforms affected
electron
Motivation and Context
Arguments passed to plugins were accidentally being double-wrapped. This update properly removes the wrapping so that plugin developers don't always have to read from index [0]. Additionally, other platforms did not have this double wrapping.
Description
Updated the IPC handler to expand the args that are passed to plugins.
Testing
npm t
cordova build electron
cordova run electron --nobuild
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)