secure_shared_preferences 0.0.4 copy "secure_shared_preferences: ^0.0.4" to clipboard
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.

23
likes
140/ 160
pub points
90%
popularity

We analyzed this package 7 days ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

failed
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

/tmp/pana_PSCYUK/lib/secure_shared_pref.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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.3 2.3.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 1.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 1.1.3 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
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
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

23
likes
140
pub points
90%
popularity

Publisher

verified publisherflutter.pingtobuild.com

Simple to use yet powerful package to encypt shared preferences in android and UserDefaults in iOS.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cryptography, cryptography_flutter, flutter, flutter_secure_storage, package_info, shared_preferences

More

Packages that depend on secure_shared_preferences