srawlins / timezone

Time zone database and time zone aware DateTime object for Dart.
BSD 2-Clause "Simplified" License
101 stars 52 forks source link

error when run in iOS #171

Open artk12 opened 1 year ago

artk12 commented 1 year ago

Error: Dart library 'dart:html' is not available on this platform.

mathisfouques commented 1 year ago

For sure on ios you should only call dart:io ; what's the function which throw the error ? thanks

hayesOw commented 3 months ago

I had the same issue browser.dart from the library got added to my imports. removing that fixed it