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 2 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 25 API elements (64.0 %) have documentation comments.
Some symbols that are missing documentation: secure_shared_pref
, secure_shared_pref.SuperSecureSharedPref.ivForKey
, secure_shared_pref.SuperSecureSharedPref.keyCode
, secure_shared_pref.SuperSecureSharedPref.keyForKey
, secure_shared_pref.SuperSecureSharedPref.valueCode
.
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.dart
that imports:package:secure_shared_preferences/secure_shared_pref.dart
that imports:package:package_info/package_info.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:secure_shared_preferences/secure_shared_preferences.dart
that imports:package:secure_shared_preferences/secure_shared_pref.dart
that imports:package:package_info/package_info.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:secure_shared_preferences/secure_shared_preferences.dart
that imports:package:secure_shared_preferences/secure_shared_pref.dart
that imports:package:package_info/package_info.dart
that 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.dart
that imports:package:secure_shared_preferences/secure_shared_pref.dart
that imports:package:flutter_secure_storage/flutter_secure_storage.dart
that imports:package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart
that 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
/tmp/pana_YBXOZD/lib/secure_shared_pref.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cryptography |
^2.0.5 |
2.7.0 | 2.7.0 |
cryptography_flutter |
^2.0.2 |
2.3.2 | 2.3.2 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
^5.0.2 |
5.1.2 | 9.2.2 |
package_info |
^2.0.2 |
2.0.2 | 2.0.2 |
shared_preferences |
^2.0.13 |
2.3.4 | 2.3.4 |
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.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.