instabug-cordova
Advanced tools
Comparing version 8.0.4 to 8.0.6
{ | ||
"name": "instabug-cordova", | ||
"version": "8.0.4", | ||
"version": "8.0.6", | ||
"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", |
@@ -22,3 +22,3 @@ var fs = require('fs'); | ||
let file = fs.readFileSync(target, 'utf-8'); | ||
const androidEngine = file.match(/engine name="android" spec="\^[1-9]+.[0-9]+.[0-9]+"/g); | ||
const androidEngine = file.match(/engine name="android" spec="\^?[1-9]+.[0-9]+.[0-9]+"/g); | ||
if (androidEngine) { | ||
@@ -40,6 +40,6 @@ const version = androidEngine[0].match(/[1-9]+.[0-9]+.[0-9]+/g); | ||
const isAndroid7 = version => { | ||
const isLessThanAndroid7 = version => { | ||
if (version) { | ||
const major = parseInt(version.split('.')[0]); | ||
return major >= 7; | ||
return major < 7; | ||
} | ||
@@ -51,6 +51,6 @@ }; | ||
let buildGradle = readIbgBuildGradle(); | ||
if (isAndroid7(getAndroidVersion())) { | ||
if (isLessThanAndroid7(getAndroidVersion())) { | ||
buildGradle = buildGradle.replace( | ||
"manifest.srcFile 'AndroidManifest.xml'", | ||
"manifest.srcFile 'src/main/AndroidManifest.xml'" | ||
"manifest.srcFile 'src/main/AndroidManifest.xml'", | ||
"manifest.srcFile 'AndroidManifest.xml'" | ||
); | ||
@@ -57,0 +57,0 @@ writeIbgBuildGradle(buildGradle); |
@@ -60,3 +60,3 @@ 'use strict'; | ||
var options = {shellPath: '/bin/sh', shellScript: 'bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/InstabugCore.framework/strip-frameworks.sh"', runOnlyForDeploymentPostprocessing: 0}; | ||
var options = {shellPath: '/bin/sh', shellScript: 'bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Instabug.framework/strip-frameworks.sh"', runOnlyForDeploymentPostprocessing: 0}; | ||
var buildPhase = myProj.addBuildPhase([], 'PBXShellScriptBuildPhase', 'StripFrameworkScript', myProj.getFirstTarget().uuid, options).buildPhase; | ||
@@ -63,0 +63,0 @@ |
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 6 instances 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 5 instances in 1 package
65076449
90
6