ilabs-flir 2.2.30 → 2.2.31
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/Flir.podspec +9 -8
- package/package.json +1 -1
- package/scripts/fetch-binaries.js +5 -5
package/Flir.podspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = 'Flir'
|
|
3
|
-
s.version = '2.2.
|
|
3
|
+
s.version = '2.2.31'
|
|
4
4
|
s.summary = 'FLIR Thermal SDK React Native - Bundled via postinstall'
|
|
5
5
|
s.description = <<-DESC
|
|
6
6
|
A React Native wrapper for the FLIR Thermal SDK, providing thermal imaging
|
|
@@ -94,14 +94,15 @@ Pod::Spec.new do |s|
|
|
|
94
94
|
# Vendored frameworks - the actual SDK
|
|
95
95
|
s.vendored_frameworks = [
|
|
96
96
|
'ios/Flir/Frameworks/ThermalSDK.xcframework',
|
|
97
|
-
'ios/Flir/Frameworks/
|
|
98
|
-
'ios/Flir/Frameworks/
|
|
99
|
-
'ios/Flir/Frameworks/
|
|
100
|
-
'ios/Flir/Frameworks/
|
|
101
|
-
'ios/Flir/Frameworks/
|
|
97
|
+
'ios/Flir/Frameworks/MeterLink.xcframework',
|
|
98
|
+
'ios/Flir/Frameworks/libavcodec.62.dylib.xcframework',
|
|
99
|
+
'ios/Flir/Frameworks/libavdevice.62.dylib.xcframework',
|
|
100
|
+
'ios/Flir/Frameworks/libavfilter.11.dylib.xcframework',
|
|
101
|
+
'ios/Flir/Frameworks/libavformat.62.dylib.xcframework',
|
|
102
|
+
'ios/Flir/Frameworks/libavutil.60.dylib.xcframework',
|
|
102
103
|
'ios/Flir/Frameworks/liblive666.dylib.xcframework',
|
|
103
|
-
'ios/Flir/Frameworks/libswresample.
|
|
104
|
-
'ios/Flir/Frameworks/libswscale.
|
|
104
|
+
'ios/Flir/Frameworks/libswresample.6.dylib.xcframework',
|
|
105
|
+
'ios/Flir/Frameworks/libswscale.9.dylib.xcframework'
|
|
105
106
|
].select { |f| File.exist?(File.join(__dir__, f)) }
|
|
106
107
|
|
|
107
108
|
s.pod_target_xcconfig = {
|
package/package.json
CHANGED
|
@@ -192,7 +192,7 @@ async function run() {
|
|
|
192
192
|
args[key] = value;
|
|
193
193
|
} else {
|
|
194
194
|
// if following arg exists and doesn't start with '-', use it as the value
|
|
195
|
-
const next = argv[i+1];
|
|
195
|
+
const next = argv[i + 1];
|
|
196
196
|
if (next && !next.startsWith('-')) {
|
|
197
197
|
args[cur.replace(/^--/, '')] = next;
|
|
198
198
|
i++;
|
|
@@ -202,7 +202,7 @@ async function run() {
|
|
|
202
202
|
}
|
|
203
203
|
} else if (cur.startsWith('-')) {
|
|
204
204
|
const key = cur.replace(/^-+/, '');
|
|
205
|
-
const next = argv[i+1];
|
|
205
|
+
const next = argv[i + 1];
|
|
206
206
|
if (next && !next.startsWith('-')) {
|
|
207
207
|
args[key] = next;
|
|
208
208
|
i++;
|
|
@@ -254,7 +254,7 @@ async function run() {
|
|
|
254
254
|
// Clean out TMP_DIR (remove all contents) to avoid conflicts for iOS
|
|
255
255
|
fs.readdirSync(TMP_DIR).forEach(f => {
|
|
256
256
|
const fp = path.join(TMP_DIR, f);
|
|
257
|
-
try { fs.rmSync(fp, { recursive: true, force: true }); } catch (e) {}
|
|
257
|
+
try { fs.rmSync(fp, { recursive: true, force: true }); } catch (e) { }
|
|
258
258
|
});
|
|
259
259
|
|
|
260
260
|
if (skipIfPresent && platformArg !== 'android' && hasIosFrameworks(DEST_IOS)) {
|
|
@@ -270,7 +270,7 @@ async function run() {
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
// Cleanup tmp
|
|
273
|
-
try { fs.rmSync(TMP_DIR, { recursive: true, force: true }); } catch (e) {}
|
|
273
|
+
try { fs.rmSync(TMP_DIR, { recursive: true, force: true }); } catch (e) { }
|
|
274
274
|
|
|
275
275
|
console.log('FLIR SDK binaries fetched and installed into the package folders.');
|
|
276
276
|
} catch (err) {
|
|
@@ -278,7 +278,7 @@ async function run() {
|
|
|
278
278
|
process.exit(1);
|
|
279
279
|
} finally {
|
|
280
280
|
// Always attempt to remove temporary folder to avoid leaving cruft
|
|
281
|
-
try { fs.rmSync(TMP_DIR, { recursive: true, force: true }); } catch (e) {}
|
|
281
|
+
try { fs.rmSync(TMP_DIR, { recursive: true, force: true }); } catch (e) { }
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
|