instabug-cordova
Advanced tools
Comparing version 1.7.1 to 1.8.0
{ | ||
"name": "instabug-cordova", | ||
"version": "1.7.1", | ||
"version": "1.8.0", | ||
"description": "The purpose of this plugin is to simplify the process of integrating the Instabug SDK in a hybrid application, as well as to provide an interface to interfacing with the SDK through JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,2 +23,10 @@ var exec = require('cordova/exec'); | ||
var getReproStepsMode = function () { | ||
return { | ||
enabled: 'enabled', | ||
disabled: 'disabled', | ||
enabledWithNoScreenshot: 'enabledWithNoScreenshot' | ||
}; | ||
}; | ||
var getLocales = function () { | ||
@@ -77,2 +85,6 @@ return { | ||
Instabug.setViewHierarchyEnabled = function (enabled, success, error) { | ||
exec(success, error, 'IBGPlugin', 'setViewHierarchyEnabled', [enabled]); | ||
}; | ||
Instabug.setUserEmail = function (email, success, error) { | ||
@@ -90,2 +102,13 @@ exec(success, error, 'IBGPlugin', 'setUserEmail', [email]); | ||
Instabug.setReproStepsMode = function (reproStepsMode, success, error) { | ||
var validatedReproStepsMode = getReproStepsMode()[reproStepsMode]; | ||
if (validatedReproStepsMode) { | ||
exec(success, error, 'IBGPlugin', 'setReproStepsMode', [validatedReproStepsMode]); | ||
} else { | ||
console.log('Could not set user steps mode - "' + validatedReproStepsMode + '" is not valid.'); | ||
} | ||
}; | ||
Instabug.setUserData = function (data, success, error) { | ||
@@ -92,0 +115,0 @@ exec(success, error, 'IBGPlugin', 'setUserData', [data]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 11 instances in 1 package
214
21
34330049