spike_flutter_sdk 4.3.104 copy "spike_flutter_sdk: ^4.3.104" to clipboard
spike_flutter_sdk: ^4.3.104 copied to clipboard

Spike Health data reader for Android and iOS platforms.

110/ 160
pub points
1.24k
downloads

We analyzed this package 22 hours ago, and awarded it 110 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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

23 out of 894 API elements (2.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: activity_additional_data, activity_additional_data.ActivityAdditionalData, activity_additional_data.ActivityAdditionalData.fromString, activity_additional_data.ActivityAdditionalData.toJson, activity_config.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:spike_flutter_sdk/spike_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:spike_flutter_sdk/spike_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:spike_flutter_sdk/spike_flutter_sdk.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:spike_flutter_sdk/spike_flutter_sdk.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:spike_flutter_sdk/spike_flutter_sdk.dart that imports:
  • package:spike_flutter_sdk/connection/spike_sdk_v3.dart that imports:
  • package:spike_flutter_sdk/connection/spike_connection_v3.dart that imports:
  • package:spike_flutter_sdk/bridge/native/native_sdk_bridge_v3.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/spike_flutter_sdk/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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 25 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'false'.

lib/connection/spike_connection_v3.dart:394:16

    ╷
394 │     if (result == null || result.isEmpty) {
    │                ^^^^^^^
    ╵

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

INFO: 'SpikeLogger' is deprecated and shouldn't be used. Use SpikeConnectionV3 insetad. See https://docs.spikeapi.com/sdk-docs/flutter/usage-guide.

lib/bridge/native/native_sdk_bridge.dart:18:33

   ╷
18 │   static final Map<String, List<SpikeLogger>> _loggers = {};
   │                                 ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/bridge/native/native_sdk_bridge.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
get_it ^7.6.6 7.7.0 8.2.0
shared_preferences ^2.2.2 2.5.3 2.5.3
update ^0.3.1 0.3.1 0.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.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
pub_semver - 2.2.0 2.2.0
shared_preferences_android - 2.4.13 2.4.13
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
vector_math - 2.2.0 2.2.0
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 constraint `^7.6.6` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it to update the constraint.

The constraint `^0.3.1` on update does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions update to update the constraint.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
110
points
1.24k
downloads

Publisher

verified publisherspikeapi.com

Weekly Downloads

Spike Health data reader for Android and iOS platforms.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get_it, shared_preferences, update

More

Packages that depend on spike_flutter_sdk

Packages that implement spike_flutter_sdk