ilabs-flir 2.2.21 → 2.2.23
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.
|
@@ -46,9 +46,8 @@ dependencies {
|
|
|
46
46
|
// FLIR SDK - Use the actual AAR files from libs folder
|
|
47
47
|
// Using 'api' to expose SDK classes to consumers and Java source files
|
|
48
48
|
// flatDir must be configured in settings.gradle or root build.gradle
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
compileOnly(files("libs/androidsdk-release.aar"))
|
|
50
|
+
compileOnly(files("libs/thermalsdk-release.aar"))
|
|
52
51
|
// Minimal compile deps to satisfy source references
|
|
53
52
|
implementation("androidx.annotation:annotation:1.5.0")
|
|
54
53
|
|
|
@@ -115,7 +115,9 @@ public class FlirSdkManager {
|
|
|
115
115
|
DiscoveryFactory.getInstance().scan(
|
|
116
116
|
discoveryListener,
|
|
117
117
|
CommunicationInterface.EMULATOR,
|
|
118
|
-
CommunicationInterface.USB
|
|
118
|
+
CommunicationInterface.USB,
|
|
119
|
+
CommunicationInterface.NETWORK,
|
|
120
|
+
CommunicationInterface.FLIR_ONE_WIRELESS);
|
|
119
121
|
} catch (Exception e) {
|
|
120
122
|
Log.e(TAG, "Scan failed", e);
|
|
121
123
|
isScanning = false;
|
|
@@ -129,7 +131,9 @@ public class FlirSdkManager {
|
|
|
129
131
|
try {
|
|
130
132
|
DiscoveryFactory.getInstance().stop(
|
|
131
133
|
CommunicationInterface.EMULATOR,
|
|
132
|
-
CommunicationInterface.USB
|
|
134
|
+
CommunicationInterface.USB,
|
|
135
|
+
CommunicationInterface.NETWORK,
|
|
136
|
+
CommunicationInterface.FLIR_ONE_WIRELESS);
|
|
133
137
|
} catch (Exception e) {
|
|
134
138
|
Log.e(TAG, "Stop scan failed", e);
|
|
135
139
|
}
|
package/app.plugin.js
CHANGED
|
@@ -48,8 +48,7 @@ const EXTERNAL_ACCESSORY_PROTOCOLS = [
|
|
|
48
48
|
|
|
49
49
|
// Bonjour services for FLIR network discovery
|
|
50
50
|
const BONJOUR_SERVICES = [
|
|
51
|
-
'_flir._tcp',
|
|
52
|
-
'_http._tcp',
|
|
51
|
+
'_flir-ircam._tcp',
|
|
53
52
|
];
|
|
54
53
|
|
|
55
54
|
// Default permission descriptions
|
|
@@ -182,7 +181,8 @@ const withFlirInfoPlist = (config, props = {}) => {
|
|
|
182
181
|
*/
|
|
183
182
|
const withFlirEntitlements = (config) => {
|
|
184
183
|
return withEntitlementsPlist(config, (config) => {
|
|
185
|
-
//
|
|
184
|
+
// Required to read current WiFi SSID for direct connections
|
|
185
|
+
config.modResults['com.apple.developer.networking.wifi-info'] = true;
|
|
186
186
|
return config;
|
|
187
187
|
});
|
|
188
188
|
};
|
|
@@ -252,6 +252,10 @@ const withFlirAndroidManifest = (config, props = {}) => {
|
|
|
252
252
|
addPermission('android.permission.INTERNET');
|
|
253
253
|
addPermission('android.permission.ACCESS_NETWORK_STATE');
|
|
254
254
|
addPermission('android.permission.ACCESS_WIFI_STATE');
|
|
255
|
+
addPermission('android.permission.CHANGE_WIFI_STATE');
|
|
256
|
+
addPermission('android.permission.CHANGE_NETWORK_STATE');
|
|
257
|
+
addPermission('android.permission.CHANGE_WIFI_MULTICAST_STATE');
|
|
258
|
+
addPermission('android.permission.NEARBY_WIFI_DEVICES');
|
|
255
259
|
addPermission('android.permission.BLUETOOTH');
|
|
256
260
|
addPermission('android.permission.BLUETOOTH_ADMIN');
|
|
257
261
|
addPermission('android.permission.BLUETOOTH_CONNECT');
|