offline_first_fhir_client 0.0.30 copy "offline_first_fhir_client: ^0.0.30" to clipboard
offline_first_fhir_client: ^0.0.30 copied to clipboard

The offline_first_fhir_client library provides a comprehensive solution for managing and syncing FHIR resources in Flutter applications with offline-first capabilities. It is designed for developers b [...]

120/ 160
pub points
139
downloads

We analyzed this package 5 hours ago, and awarded it 120 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/tdh-foundation/offline_first_fhir_client/tree/dev was unreachable. Make sure that the website is reachable via HEAD requests.

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.

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

8 out of 17 API elements (47.1 %) have documentation comments.

Some symbols that are missing documentation: offline_first_fhir_client, offline_first_fhir_client.FhirClient, offline_first_fhir_client.FhirClient.FhirClient.new, offline_first_fhir_client.FhirClient.deleteFhirResource, offline_first_fhir_client.FhirClient.initialize.

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 not compatible with platform Web

Because:

  • package:offline_first_fhir_client/offline_first_fhir_client.dart that imports:
  • package:offline_first_fhir_client/src/offline_first_fhir_client_service/offline_first_fhir_client_service.dart that imports:
  • package:offline_first_fhir_client/src/sync_service/syncing_helping_functions.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/hive_service.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/encryption_helper.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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:offline_first_fhir_client/offline_first_fhir_client.dart that imports:
  • package:offline_first_fhir_client/src/offline_first_fhir_client_service/offline_first_fhir_client_service.dart that imports:
  • package:offline_first_fhir_client/src/sync_service/syncing_helping_functions.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/hive_service.dart that imports:
  • package:offline_first_fhir_client/src/database_controller/encryption_helper.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.cn/web/wasm 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 9 issues. Showing the first 2:

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

lib/src/offline_first_fhir_client_service/offline_first_fhir_client_service.dart:242:24

    ╷
242 │     if (localResources != null) {
    │                        ^^^^^^^
    ╵

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

/tmp/pana_SNNQUY/lib/offline_first_fhir_client.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
flutter_secure_storage ^9.2.4 9.2.4 9.2.4
hive_flutter ^1.1.0 1.1.0 1.1.0
hive_generator ^2.0.1 2.0.1 2.0.1
http ^1.2.2 1.5.0 1.5.0
intl ^0.20.2 0.20.2 0.20.2
json_path ^0.7.2 0.7.6 0.8.0
mockito ^5.4.4 5.4.4 5.5.1
path_provider ^2.1.4 2.1.5 2.1.5
path_provider_platform_interface ^2.1.2 2.1.2 2.1.2
workmanager ^0.7.0 0.7.0 0.9.0+3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 67.0.0 89.0.0
analyzer - 6.4.1 8.2.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 2.4.1 4.0.1
built_collection - 5.1.1 5.1.1
built_value - 8.12.0 8.12.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
code_builder - 4.11.0 4.11.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.6 3.1.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
glob - 2.1.3 2.1.3
hive - 2.2.3 2.2.3
http_parser - 4.1.2 4.1.2
iregexp - 0.1.2 0.2.0
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
maybe_just_nothing - 0.5.3 0.5.3
meta - 1.16.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
path_provider_linux - 2.2.1 2.2.1
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
rfc_6901 - 0.2.0 0.2.0
source_gen - 1.5.0 4.0.1
source_helper - 1.3.5 1.3.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
watcher - 1.1.4 1.1.4
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^0.7.2` on json_path does not support the stable version `0.8.0`.

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

The constraint `^0.7.0` on workmanager does not support the stable version `0.8.0`.

Try running dart pub upgrade --major-versions workmanager 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:
2
likes
120
points
139
downloads

Publisher

verified publishertdh.org

Weekly Downloads

The offline_first_fhir_client library provides a comprehensive solution for managing and syncing FHIR resources in Flutter applications with offline-first capabilities. It is designed for developers building healthcare applications where reliable data access is critical, even in offline scenarios.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_secure_storage, hive_flutter, hive_generator, http, intl, json_path, mockito, path_provider, path_provider_platform_interface, workmanager

More

Packages that depend on offline_first_fhir_client