tus_bg_file_uploader 0.0.45 copy "tus_bg_file_uploader: ^0.0.45" to clipboard
tus_bg_file_uploader: ^0.0.45 copied to clipboard

unlisted

A wrapper around tus_file_uploader that allows to upload file using background service

70/ 160
pub points
50
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/programming-stayler/tus_bg_file_uploader 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

1 out of 160 API elements (0.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: tus_bg_file_uploader, tus_bg_file_uploader.ChunkSizeConfig, tus_bg_file_uploader.ChunkSizeConfig.ChunkSizeConfig.new, tus_bg_file_uploader.ChunkSizeConfig.initialChunkSize, tus_bg_file_uploader.ChunkSizeConfig.nextChunkSize.

Passed check 10/10 points: Package has an example

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

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

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

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

ERROR: The named parameter 'foregroundServiceType' isn't defined.

lib/src/bg_file_uploader_manager.dart:116:9

    ╷
116 │         foregroundServiceType: AndroidForegroundType.dataSync,
    │         ^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: Missing type annotation.

lib/src/bg_file_uploader_manager.dart:290:10

    ╷
290 │   static _onStart(ServiceInstance service) async {
    │          ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bg_file_uploader_manager.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
async ^2.9.0 2.13.1 2.13.1
cross_file ^0.3.3+2 0.3.5+5 0.3.5+5
flutter_background_service ^5.0.7 5.1.0 5.1.0
flutter_background_service_android ^6.2.4 6.3.1 6.3.1
flutter_image_compress ^2.3.0 2.5.1 2.5.1
flutter_local_notifications ^15.1.1 15.1.3 22.3.0
logger ^2.2.0 2.7.0 2.7.0
native_exif ^0.6.0 0.6.2 0.8.0
path_provider ^2.0.11 2.1.6 2.1.6
shared_preferences ^2.0.15 2.5.5 2.5.5
synchronized ^3.1.0+1 3.4.1+2 3.4.1+2
tus_file_uploader ^0.0.34 0.0.34 0.0.34
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dbus - 0.7.15 0.7.15
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_background_service_ios - 5.0.3 5.0.3
flutter_background_service_platform_interface - 5.1.2 5.1.2
flutter_image_compress_common - 1.1.1 1.1.1
flutter_image_compress_macos - 1.1.0 1.1.0
flutter_image_compress_ohos - 0.0.3+1 0.0.3+1
flutter_image_compress_platform_interface - 1.1.0 1.1.0
flutter_image_compress_web - 0.1.5+1 0.1.5+1
flutter_local_notifications_linux - 4.0.1 8.0.1
flutter_local_notifications_platform_interface - 7.2.0 12.2.0
hooks - 2.2.0 2.2.0
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.0 9.6.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
timezone - 0.9.4 0.11.1
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 7.0.1 7.0.1
yaml - 3.1.4 3.1.4

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

The constraint `^15.1.1` on flutter_local_notifications does not support the stable version `16.0.0`.

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

The constraint `^0.6.0` on native_exif does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions native_exif 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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
70
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A wrapper around tus_file_uploader that allows to upload file using background service

Homepage

License

MIT (license)

Dependencies

async, cross_file, flutter, flutter_background_service, flutter_background_service_android, flutter_image_compress, flutter_local_notifications, logger, native_exif, path_provider, shared_preferences, synchronized, tus_file_uploader

More

Packages that depend on tus_bg_file_uploader