This PR allows optional custom attributes for recordError in the Cordova plugin.
Description
The Javascript and native (Objective-C, Java) code for recordError has been modified to handle an additional optional parameter for custom attributes to be recorded. The unit tests for recordError have been modified to test this new functionality of recording custom attributes. In addition, the README has been updated to reflect the update to recordError.
Context
This PR allows optional custom attributes for recordError in the Cordova plugin.
Description
The Javascript and native (Objective-C, Java) code for recordError has been modified to handle an additional optional parameter for custom attributes to be recorded. The unit tests for recordError have been modified to test this new functionality of recording custom attributes. In addition, the README has been updated to reflect the update to recordError.