scandit-capacitor-datacapture-core 7.1.2 → 7.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scandit-capacitor-datacapture-core",
3
- "version": "7.1.2",
3
+ "version": "7.2.0-beta.2",
4
4
  "description": "Scandit Data Capture SDK for Capacitor",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -29,7 +29,8 @@
29
29
  "@capacitor/android": "^6.0.0",
30
30
  "@capacitor/core": "^6.0.0",
31
31
  "@capacitor/ios": "^6.0.0",
32
- "@ionic/prettier-config": "^4.0.0",
32
+ "@ionic/prettier-config": "^1.0.0",
33
+ "@ionic/swiftlint-config": "^1.0.0",
33
34
  "@jest/globals": "^29.7.0",
34
35
  "@rollup/plugin-commonjs": "24.1.0",
35
36
  "@rollup/plugin-node-resolve": "15.0.2",
@@ -41,9 +42,11 @@
41
42
  "eslint": "8.37.0",
42
43
  "jest": "^29.7.0",
43
44
  "jest-environment-jsdom": "^29.7.0",
44
- "prettier": "^3.4.2",
45
+ "prettier": "^2.0.5",
46
+ "prettier-plugin-java": "^2.0.0",
45
47
  "rimraf": "^4.1.2",
46
48
  "rollup": "3.25.1",
49
+ "swiftlint": "^1.0.1",
47
50
  "ts-jest": "^29.1.2",
48
51
  "typedoc": "0.24.8",
49
52
  "typescript": "4.9.5"
@@ -67,8 +70,9 @@
67
70
  }
68
71
  },
69
72
  "prettier": "@ionic/prettier-config",
73
+ "swiftlint": "@ionic/swiftlint-config",
70
74
  "dependencies": {
71
75
  "@capacitor/cli": "^4.3.0",
72
- "scandit-datacapture-frameworks-core": "7.1.2"
76
+ "scandit-datacapture-frameworks-core": "7.2.0-beta.2"
73
77
  }
74
78
  }
@@ -1,14 +1,10 @@
1
1
  def podspec_path_for_pod(pod_name, current_path)
2
2
  # the current_path will be always the folder of the Podfile where this function is executed
3
- archive_dir = File.expand_path(File.join('..', '..', '..'))
4
- if File.exist?(File.join(archive_dir, 'frameworks'))
5
- return File.join(archive_dir, 'frameworks', 'shared', 'ios', pod_name)
6
- end
7
-
8
- archive_temp_dir = File.expand_path(File.join('..', '..', '..', '..'))
9
- if File.exist?(File.join(archive_temp_dir, 'frameworks'))
10
- File.join(archive_temp_dir, 'frameworks', 'shared', 'ios', pod_name)
11
- else
12
- File.join(current_path.split('data-capture-sdk')[0], 'data-capture-sdk', 'frameworks', 'shared', 'ios', pod_name)
3
+ archive_dir = File.expand_path(current_path)
4
+ until File.exist?(File.join(archive_dir, 'frameworks'))
5
+ parent_dir = File.expand_path('..', archive_dir)
6
+ break if parent_dir == archive_dir
7
+ archive_dir = parent_dir
13
8
  end
9
+ File.join(archive_dir, 'frameworks', 'shared', 'ios', pod_name)
14
10
  end