Skip to content

feat(share_plus): SharePlus refactor #728

feat(share_plus): SharePlus refactor

feat(share_plus): SharePlus refactor #728

Triggered via pull request December 18, 2024 08:30
Status Cancelled
Total duration 8m 8s
Artifacts

share_plus.yaml

on: pull_request
Matrix: android_integration_test
Fit to window
Zoom out
Zoom in

Annotations

24 errors, 14 warnings, and 10 notices
Target of URI doesn't exist: 'package:share_plus/share_plus_old.dart'.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L2
Try creating the file referenced by the URI, or try using a URI for a file that does exist. See https://dart.dev/diagnostics/uri_does_not_exist to learn more about this problem.
Undefined name 'SharePlusLinuxPlugin'.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L9
Try correcting the name to one that is defined, or defining the name. See https://dart.dev/diagnostics/undefined_identifier to learn more about this problem.
The name 'SharePlusLinuxPlugin' isn't a type, so it can't be used as a type argument.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L10
Try correcting the name to an existing type, or defining a type named 'SharePlusLinuxPlugin'. See https://dart.dev/diagnostics/non_type_as_type_argument to learn more about this problem.
The function 'SharePlusLinuxPlugin' isn't defined.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L15
Try importing the library that defines 'SharePlusLinuxPlugin', correcting the name to the name of an existing function, or defining a function named 'SharePlusLinuxPlugin'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The function 'SharePlusLinuxPlugin' isn't defined.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L24
Try importing the library that defines 'SharePlusLinuxPlugin', correcting the name to the name of an existing function, or defining a function named 'SharePlusLinuxPlugin'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The function 'SharePlusLinuxPlugin' isn't defined.: packages/share_plus/share_plus/test/share_plus_linux_test.dart#L33
Try importing the library that defines 'SharePlusLinuxPlugin', correcting the name to the name of an existing function, or defining a function named 'SharePlusLinuxPlugin'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The argument type 'String' can't be assigned to the parameter type 'ShareParams'. : packages/share_plus/share_plus/test/share_plus_windows_test.dart#L35
See https://dart.dev/diagnostics/argument_type_not_assignable to learn more about this problem.
The named parameter 'subject' isn't defined.: packages/share_plus/share_plus/test/share_plus_windows_test.dart#L35
Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'subject'. See https://dart.dev/diagnostics/undefined_named_parameter to learn more about this problem.
The argument type 'String' can't be assigned to the parameter type 'ShareParams'. : packages/share_plus/share_plus/test/share_plus_windows_test.dart#L48
See https://dart.dev/diagnostics/argument_type_not_assignable to learn more about this problem.
The named parameter 'subject' isn't defined.: packages/share_plus/share_plus/test/share_plus_windows_test.dart#L48
Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'subject'. See https://dart.dev/diagnostics/undefined_named_parameter to learn more about this problem.
windows_integration_test
0 tests passed, 2 failed, 1 skipped.
windows_integration_test
Process completed with exit code 1.
macos_integration_test
0 tests passed, 2 failed, 1 skipped.
macos_integration_test
Process completed with exit code 1.
ios_integration_test
0 tests passed, 3 failed.
ios_integration_test
Process completed with exit code 1.
macos
Canceling since a higher priority waiting request for 'share_plus_3403-share-plus-refactor' exists
android_integration_test (34)
Canceling since a higher priority waiting request for 'share_plus_3403-share-plus-refactor' exists
android_integration_test (31)
Canceling since a higher priority waiting request for 'share_plus_3403-share-plus-refactor' exists
android_integration_test (31)
The operation was canceled.
android_integration_test (26)
Canceling since a higher priority waiting request for 'share_plus_3403-share-plus-refactor' exists
android_integration_test (26)
The operation was canceled.
android_integration_test (22)
Canceling since a higher priority waiting request for 'share_plus_3403-share-plus-refactor' exists
android_integration_test (22)
The operation was canceled.
Dart Analyzer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unused import: 'dart:ui'.: packages/share_plus/share_plus/lib/src/share_plus_web.dart#L4
Try removing the import directive. See https://dart.dev/diagnostics/unused_import to learn more about this problem.
The value of the field '_navigator' isn't used.: packages/share_plus/share_plus/lib/src/share_plus_web.dart#L24
Try removing the field, or using it. See https://dart.dev/diagnostics/unused_field to learn more about this problem.
The declaration '_downloadIfFallbackEnabled' isn't referenced.: packages/share_plus/share_plus/lib/src/share_plus_web.dart#L244
Try removing the declaration of '_downloadIfFallbackEnabled'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
The declaration '_fromXFile' isn't referenced.: packages/share_plus/share_plus/lib/src/share_plus_web.dart#L282
Try removing the declaration of '_fromXFile'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
The declaration '_resultDismissed' isn't referenced.: packages/share_plus/share_plus/lib/src/share_plus_web.dart#L297
Try removing the declaration of '_resultDismissed'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
Unused import: 'dart:ui'.: packages/share_plus/share_plus/lib/src/share_plus_windows.dart#L4
Try removing the import directive. See https://dart.dev/diagnostics/unused_import to learn more about this problem.
Unused import: 'dart:ui'.: packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart#L10
Try removing the import directive. See https://dart.dev/diagnostics/unused_import to learn more about this problem.
The declaration '_getFiles' isn't referenced.: packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart#L168
Try removing the declaration of '_getFiles'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
The declaration '_mimeTypeForPath' isn't referenced.: packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart#L181
Try removing the declaration of '_mimeTypeForPath'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
The declaration '_statusFromResult' isn't referenced.: packages/share_plus/share_plus_platform_interface/lib/method_channel/method_channel_share.dart#L185
Try removing the declaration of '_statusFromResult'. See https://dart.dev/diagnostics/unused_element to learn more about this problem.
web
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ios_integration_test
More than one (6) device matching requirements (os:[] os_version:[] model:[iPhone 15]) have been found.
'Share' is deprecated and shouldn't be used. Use SharePlus instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L16
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'share' is deprecated and shouldn't be used. Use SharePlus.share() instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L16
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'Share' is deprecated and shouldn't be used. Use SharePlus instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L21
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'shareUri' is deprecated and shouldn't be used. Use SharePlus.share() instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L21
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'Share' is deprecated and shouldn't be used. Use SharePlus instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L30
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'shareXFiles' is deprecated and shouldn't be used. Use SharePlus.share() instead.: packages/share_plus/share_plus/example/integration_test/share_plus_test.dart#L30
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'Share' is deprecated and shouldn't be used. Use SharePlus instead.: packages/share_plus/share_plus/example/lib/main.dart#L25
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'downloadFallbackEnabled' is deprecated and shouldn't be used. Use ShareParams.downloadFallbackEnabled instead.: packages/share_plus/share_plus/example/lib/main.dart#L25
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'Share' is deprecated and shouldn't be used. Use SharePlus instead.: packages/share_plus/share_plus/example/lib/main.dart#L225
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'shareXFiles' is deprecated and shouldn't be used. Use SharePlus.share() instead.: packages/share_plus/share_plus/example/lib/main.dart#L225
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.