secure_shared_preferences 0.0.4
secure_shared_preferences: ^0.0.4 copied to clipboard
Simple to use yet powerful package to encypt shared preferences in android and UserDefaults in iOS.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 26 API elements (61.5 %) have documentation comments.
Some symbols that are missing documentation: secure_shared_pref, secure_shared_pref.SuperSecureSharedPref.SuperSecureSharedPref.new, secure_shared_pref.SuperSecureSharedPref.ivForKey, secure_shared_pref.SuperSecureSharedPref.keyCode, secure_shared_pref.SuperSecureSharedPref.keyForKey.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:secure_shared_preferences/secure_shared_preferences.dartthat imports:package:secure_shared_preferences/secure_shared_pref.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:secure_shared_preferences/secure_shared_preferences.dartthat imports:package:secure_shared_preferences/secure_shared_pref.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:secure_shared_preferences/secure_shared_preferences.dartthat imports:package:secure_shared_preferences/secure_shared_pref.dartthat imports:package:package_info/package_info.dartthat declares support for platforms:Android,iOS,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:secure_shared_preferences/secure_shared_preferences.dartthat imports:package:secure_shared_preferences/secure_shared_pref.dartthat imports:package:flutter_secure_storage/flutter_secure_storage.dartthat imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/secure_shared_pref.dart:73:11
╷
73 │ print("_isMasterKeyAvailable true}");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/secure_shared_pref.dart
INFO: Don't invoke 'print' in production code.
lib/secure_shared_pref.dart:75:11
╷
75 │ print("_getEncrypterKeys $keys}");
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/secure_shared_pref.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cryptography |
^2.0.5 |
2.7.0 | 2.7.0 | |
cryptography_flutter |
^2.0.2 |
2.3.2 | 2.3.2 | |
flutter_secure_storage |
^5.0.2 |
5.1.2 | 9.2.4 | |
package_info |
^2.0.2 |
2.0.2 | 2.0.2 | Discontinued |
shared_preferences |
^2.0.13 |
2.5.3 | 2.5.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.2` on flutter_secure_storage does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- package_info.
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.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.