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
I am trying to use the BroadcastChannel api , to send communication between a service worker and the main thread. Our app is hybrid, currently support web, ios and android.
Even when importing from import 'package:universal_html/html.dart'; I get a compilation error when trying to build for ios, stating that BroadastChannel is not a type. I can click on it and see the definition in html_dart2js.dart. What is going on here?
To replicate:
Import universal html
Use BroacastChannel BroadcastChannel? _channel;
Compile for ios
The text was updated successfully, but these errors were encountered:
I am trying to use the BroadcastChannel api , to send communication between a service worker and the main thread. Our app is hybrid, currently support web, ios and android.
Even when importing from
import 'package:universal_html/html.dart';
I get a compilation error when trying to build for ios, stating that BroadastChannel is not a type. I can click on it and see the definition inhtml_dart2js.dart
. What is going on here?To replicate:
BroadcastChannel? _channel;
The text was updated successfully, but these errors were encountered: