Skip to content

No support for Isolate.resolvePackageUri #14815

@srawlins

Description

@srawlins

Steps to Reproduce

When running an app and calling Isolate.resolvePackageUri(), which I assumed would be safe on any platform, I see that it is an unsupported operation.

Logs

E/flutter (27891): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (27891): Unsupported operation: Isolate.resolvePackageUri
E/flutter (27891): #0      initializeTimeZone.<anonymous closure> (package:timezone/standalone.dart:74:5)
E/flutter (27891): #1      _RootZone.runUnary (dart:async/zone.dart:1381)
E/flutter (27891): #2      _FutureListener.handleError (dart:async/future_impl.dart:144)
E/flutter (27891): #3      _Future._propagateToListeners.handleError (dart:async/future_impl.dart:645)
E/flutter (27891): #4      _Future._propagateToListeners (dart:async/future_impl.dart:666)
E/flutter (27891): #5      _Future._completeError (dart:async/future_impl.dart:485)
E/flutter (27891): #6      _SyncCompleter._completeError (dart:async/future_impl.dart:55)
E/flutter (27891): #7      _Completer.completeError (dart:async/future_impl.dart:27)
E/flutter (27891): #8      _loadAsBytes (package:timezone/standalone.dart)

Question

Is it intentionally unsupported? Or is it just not supported yet? I could not find any documentation on this.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.dependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.found in release: 1.23Found to occur in 1.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions