cordova-plugin-scanbot-sdk
Advanced tools
Comparing version 4.16.1 to 4.16.2-beta.1
@@ -8,3 +8,4 @@ | ||
const version = "1.30.1"; | ||
const url = `https://download.scanbot.io/sdk/ios/scanbot-ios-sdk${version}.zip`; | ||
const fileName = `scanbot-ios-sdk-xcframework-${version}` | ||
const url = `https://download.scanbot.io/sdk/ios/xcframeworks/${fileName}.zip`; | ||
const zipFile = "sdk-ios.zip"; | ||
@@ -26,10 +27,7 @@ | ||
const zip = new AdmZip(zipFile); | ||
const zipFolder = "ScanbotSDK"; | ||
const destFolder = "Frameworks" | ||
const sdkPath = path.join("src", "ios"); | ||
const sdkPath = path.join("src", "ios", "Frameworks"); | ||
if (!fs.existsSync(sdkPath)) { | ||
fs.mkdirSync(sdkPath) | ||
} | ||
zip.extractAllTo(sdkPath, true); | ||
fs.rename(path.join(sdkPath, zipFolder), path.join(sdkPath, destFolder), function() { | ||
console.log("Done!"); | ||
}); | ||
} catch (e) { | ||
@@ -36,0 +34,0 @@ warnWithMessage(e.message); |
{ | ||
"name": "cordova-plugin-scanbot-sdk", | ||
"title": "Scanbot Document and Barcode Scanner SDK for Cordova", | ||
"version": "4.16.1", | ||
"version": "4.16.2-beta.1", | ||
"description": "Cordova Plugin for the Scanbot Document and Barcode Scanner SDK", | ||
@@ -6,0 +6,0 @@ "cordova": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
766030
76
3350
1