ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
16 stars 13 forks source link

Getting error while running on flutter web #6

Closed luvishq closed 1 year ago

luvishq commented 1 year ago

Getting the below error while running on flutter web:

../../../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:8:12: Error: `@staticInterop` classes should not contain any generative constructors.
Use factory constructors instead.
  external JsAudioContext();
           ^
../../../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:24:12: Error: `@staticInterop` classes should not contain any generative constructors.
Use factory constructors instead.
  external AudioNode();
           ^
../../../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:34:12: Error: `@staticInterop` classes should not contain any generative constructors.
Use factory constructors instead.
  external AudioParam();
           ^
../../../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:44:12: Error: `@staticInterop` classes should not contain any generative constructors.
Use factory constructors instead.
  external StereoPannerNode();
           ^
../../../.pub-cache/hosted/pub.dev/audioplayers_web-2.1.0/lib/web_audio_js.dart:54:12: Error: `@staticInterop` classes should not contain any generative constructors.
Use factory constructors instead.
  external MediaElementAudioSourceNode();

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.7.12, on macOS 13.2.1 22D68 darwin-x64, locale en-US) [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.1) [✓] VS Code (version 1.74.1) [✓] Connected device (2 available) [✓] HTTP Host Availability

yoer commented 1 year ago

We do not currently support the web platform