You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS 16.0, the call to Isolate.resolvePackageUri throw a Unhandled Exception: Unsupported operation: Isolate.resolvePackageUri .
It is called in the lib/standalone.dart file, in the method initializeTimeZone, when it calls _loadAsBytes (which itself calls the Isolate.resolvePackageUri function).
I am able to solve it by using the latest.dart file instead of the call to resolvePackageUri that calls the .tz database file.
Here is my function that makes a call directly to lib/src/env.dart "initializeDatabase"
I think by making a PR we could do something more maintainable, but before I need to know if there is any particular reason why we would call Isolate.resolvePackageUri, or if there is anything that would prevent from doing a PR on this topic ?
Thanks
The text was updated successfully, but these errors were encountered:
On iOS 16.0, the call to Isolate.resolvePackageUri throw a Unhandled Exception: Unsupported operation: Isolate.resolvePackageUri .
It is called in the lib/standalone.dart file, in the method initializeTimeZone, when it calls _loadAsBytes (which itself calls the Isolate.resolvePackageUri function).
I am able to solve it by using the latest.dart file instead of the call to resolvePackageUri that calls the .tz database file.
Here is my function that makes a call directly to lib/src/env.dart "initializeDatabase"
and uses this function from latest.dart that I added
I think by making a PR we could do something more maintainable, but before I need to know if there is any particular reason why we would call Isolate.resolvePackageUri, or if there is anything that would prevent from doing a PR on this topic ?
Thanks
The text was updated successfully, but these errors were encountered: