native_shared_preferences 2.0.10 copy "native_shared_preferences: ^2.0.10" to clipboard
native_shared_preferences: ^2.0.10 copied to clipboard

This packages is a copy of the shared_prefrences package but without the prefix in the keys. Is used to migrate the data from previous native app.

34
likes
140/ 160
pub points
19.4k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

86 out of 97 API elements (88.7 %) have documentation comments.

Some symbols that are missing documentation: method_channel_native_shared_preferences, method_channel_native_shared_preferences.MethodChannelNativeSharedPreferencesStore.MethodChannelNativeSharedPreferencesStore.new, native_shared_preferences, native_shared_preferences.NativeSharedPreferences.getAllFromDictionary, native_shared_preferences_platform_interface.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_linux/shared_preferences_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:native_shared_preferences/native_shared_preferences.dart that imports:
  • package:shared_preferences_windows/shared_preferences_windows.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that imports:
  • package:path_provider_windows/src/path_provider_windows_stub.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/native_shared_preferences/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing a deprecation message.

lib/native_shared_preferences.dart:165:3

165@deprecated
    │   ^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/native_shared_preferences.dart

INFO: Missing a deprecation message.

lib/original_shared_preferences/original_shared_preferences.dart:160:3

160@deprecated
    │   ^^^^^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/original_shared_preferences/original_shared_preferences.dart

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

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
cupertino_icons ^1.0.6 1.0.8 1.0.8
file ^7.0.0 7.0.1 7.0.1
meta ^1.9.1 1.16.0 1.16.0
shared_preferences ^2.2.2 2.5.3 2.5.3
shared_preferences_linux ^2.3.2 2.4.1 2.4.1
shared_preferences_macos ^2.0.5 2.0.5 2.0.5 Discontinued
shared_preferences_platform_interface ^2.3.1 2.4.1 2.4.1
shared_preferences_web ^2.2.1 2.4.3 2.4.3
shared_preferences_windows ^2.3.2 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.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.4.8 2.4.8
shared_preferences_foundation - 2.5.4 2.5.4
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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:

  • shared_preferences_macos.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7Mar 701k2k3k4k5k6k7k8k>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0
34
likes
140
points
19.4k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

This packages is a copy of the shared_prefrences package but without the prefix in the keys. Is used to migrate the data from previous native app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cupertino_icons, file, flutter, meta, shared_preferences, shared_preferences_linux, shared_preferences_macos, shared_preferences_platform_interface, shared_preferences_web, shared_preferences_windows

More

Packages that depend on native_shared_preferences