flutter_iot_shield 1.2.1
flutter_iot_shield: ^1.2.1 copied to clipboard
A reusable IoT security layer for Flutter apps. Provides device authentication, health data validation, firmware verification, and secure storage.
We analyzed this package 4 days ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 2 links are insecure.
README.md:52:19
╷
52 │ <p>Initialize the <a href="file:///Users/saifalmajd/saif/flutter_iot_shield/lib/src/core/iot_shield.dart">IoTShield</a> singleton once in your application initialization sequence (e.g., inside <code>main.dart</code>):</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
164 out of 353 API elements (46.5 %) have documentation comments.
Some symbols that are missing documentation: flutter_iot_shield.ChannelSanitizer.ChannelSanitizer.new, flutter_iot_shield.CryptoKeyPair.CryptoKeyPair.new, flutter_iot_shield.CryptoKeyPair.keyPair, flutter_iot_shield.CryptoKeyPair.publicKey, flutter_iot_shield.CryptoProvider.CryptoProvider.new.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:flutter_iot_shield/flutter_iot_shield.dartthat imports:package:flutter_iot_shield/src/firmware/firmware_verifier.dartthat imports:package:archive/archive_io.dartthat imports:package:archive/src/io/zip_file_progress.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: 'encryptedSharedPreferences' is deprecated and shouldn't be used. EncryptedSharedPreferences is deprecated and will be removed in v11. The Jetpack Security library is deprecated by Google. Your data will be automatically migrated to custom ciphers on first access. Remove this parameter - it will be ignored.
lib/src/identity/trust_manager.dart:21:40
╷
21 │ aOptions: AndroidOptions(encryptedSharedPreferences: true),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/identity/trust_manager.dart
INFO: 'encryptedSharedPreferences' is deprecated and shouldn't be used. EncryptedSharedPreferences is deprecated and will be removed in v11. The Jetpack Security library is deprecated by Google. Your data will be automatically migrated to custom ciphers on first access. Remove this parameter - it will be ignored.
lib/src/pairing/secure_pairing_manager.dart:52:40
╷
52 │ aOptions: AndroidOptions(encryptedSharedPreferences: true),
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pairing/secure_pairing_manager.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
>=3.6.1 <5.0.0 |
4.0.9 | 4.0.9 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
cryptography |
^2.7.0 |
2.9.0 | 2.9.0 | |
flutter_secure_storage |
>=9.2.2 <11.0.0 |
10.3.1 | 10.3.1 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.4 |
2.1.6 | 2.1.6 | |
pointycastle |
>=3.9.1 <5.0.0 |
4.0.0 | 4.0.0 | |
sqflite |
^2.3.3+1 |
2.4.3 | 2.4.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.2.1 | 1.2.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
flutter_secure_storage_darwin |
- | 0.3.2 | 0.4.0 | |
flutter_secure_storage_linux |
- | 3.0.1 | 3.0.1 | |
flutter_secure_storage_platform_interface |
- | 2.0.1 | 2.0.1 | |
flutter_secure_storage_web |
- | 2.1.1 | 2.1.1 | |
flutter_secure_storage_windows |
- | 4.2.2 | 4.2.2 | |
hooks |
- | 2.0.2 | 2.0.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
objective_c |
- | 9.4.1 | 9.4.1 | |
package_config |
- | 2.2.0 | 3.0.0 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.0 | 6.5.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite_android |
- | 2.4.3 | 2.4.3 | |
sqflite_common |
- | 2.5.11 | 2.5.11 | |
sqflite_darwin |
- | 2.4.3+1 | 2.4.3+1 | |
sqflite_platform_interface |
- | 2.4.1 | 2.4.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.1 | 3.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.3.0 | 6.3.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.