chore(deps): update Cocoa SDK to v9.1.0#3394
Package analysis results for sentry_flutter
Score
80/160 points
(50.0%)
Details
Follow Dart file conventions (30/30)
✔ 10/10 points: Provide a valid pubspec.yaml
✔ 5/5 points: Provide a valid README.md
✔ 5/5 points: Provide a valid CHANGELOG.md
✔ 10/10 points: Use an OSI-approved license
Detected license: MIT.
Provide documentation (20/20)
✔ 10/10 points: 20% or more of the public API has dartdoc comments
795 out of 1314 API elements (60.5 %) have documentation comments.
Some symbols that are missing documentation: sentry_flutter.AdditionalInfoExtractor, sentry_flutter.BindingWrapper.BindingWrapper.new, sentry_flutter.Breadcrumb.Breadcrumb.console, sentry_flutter.Breadcrumb.Breadcrumb.http, sentry_flutter.Breadcrumb.Breadcrumb.userInteraction.
✔ 10/10 points: Package has an example
Platform support (20/20)
✔ 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:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/native/factory.dartthat imports:package:sentry_flutter/src/native/factory_real.dartthat imports:package:sentry_flutter/src/native/java/sentry_native_java.dartthat imports:package:sentry_flutter/src/native/java/binding.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
Package does not support platform `Linux`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/native/factory.dartthat imports:package:sentry_flutter/src/native/factory_real.dartthat imports:package:sentry_flutter/src/native/java/sentry_native_java.dartthat imports:package:sentry_flutter/src/native/java/binding.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
Package not compatible with platform Web
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_linux.dartthat imports:dart:io
Pass static analysis (0/50)
❌ 0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: Undefined class 'SentryId1'.
lib/src/native/cocoa/binding.dart:73199:55
╷
73199 │ static int startProfilerForTrace_(SentryCocoa _lib, SentryId1? traceId) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/native/cocoa/binding.dart
ERROR: The name 'SentryId1' is being referenced through the prefix 'cocoa', but it isn't defined in any of the libraries imported using that prefix.
lib/src/native/cocoa/sentry_native_cocoa.dart:77:33
╷
77 │ final cSentryId = cocoa.SentryId1.alloc(_lib)
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/native/cocoa/sentry_native_cocoa.dart
Support up-to-date dependencies (10/40)
❌ 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
ffi |
^2.0.0 |
2.1.5 | 2.1.5 | |
jni |
0.14.2 |
0.14.2 | 0.15.2 | |
meta |
^1.3.0 |
1.17.0 | 1.18.0 | |
package_info_plus |
>=1.0.0 |
9.0.0 | 9.0.0 | |
sentry |
/github/workspace/packages/dart |
9.10.0 | 9.10.0 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 5.15.0 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `0.14.2` on jni does not support the stable version `0.15.0`.
Try running dart pub upgrade --major-versions jni to update the constraint.
✔ 10/10 points: Package supports latest stable Dart and Flutter SDKs
❌ 0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
UNDEFINED_CLASS-lib/src/native/cocoa/binding.dart:73199:55- Undefined class 'SentryId1'.UNDEFINED_PREFIXED_NAME-lib/src/native/cocoa/sentry_native_cocoa.dart:77:33- The name 'SentryId1' is being referenced through the prefix 'cocoa', but it isn't defined in any of the libraries imported using that prefix.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Versions
- Pana: 0.23.5
- Dart: 3.10.7
- Flutter: 3.38.6