// Using cordova.require (Recommended)
var ModuleName = cordova.require("instabug-cordova.ModuleName");
// Using window
var ModuleName = window.InstabugLib.ModuleName;
ModuleName.methodName();
Type of change
[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Related issues
84
Checklists
Development
[x] Lint rules pass locally
[x] The code changed/added as part of this pull request has been covered with tests
Code review
[ ] This pull request has a descriptive title and information useful to a reviewer
[ ] Issue from task tracker has a link to this pull request
Description of the change
Old way:
New way:
Type of change
Related issues
84
Checklists
Development
Code review