menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Zefyr

Zefyr rich text editor for Flutter applications

Channels
Team

Zefyr runing in Chrome Web App

December 1, 2020 at 4:10am

Zefyr runing in Chrome Web App

December 1, 2020 at 4:10am
I'm using Zefyr editor btw is amazing. But I'm trying to use in a Chrome Web App and I get this error "Platform TargetPlatform.windows not implemented." It's possible to manage Target Platform with Zefyr?

December 23, 2020 at 1:55am
It's a bit surprising that you're getting an error about target platform Windows while trying to use it in Chrome. What command did you run to get that error? If it was "flutter run" you might want to try "flutter run -d chrome". Did you use "flutter config --enable-web" first?

January 5, 2021 at 12:53am
Hello everyone, I am in the same situation described by (luiyinoel). I am running the app inside Android Studio. I have tried the same app example of the Zefyr quick start documentation (https://github.com/memspace/zefyr/blob/master/doc/quick-start.md). It works in an android real device phone like charm, but it is not working on web. I have tried it by running main.dart using "chrome" and using "web server" devices and at both cases same error message is going to appear. My current setup: Android Studio 4.1.1 Build #AI-201.8743.12.41.6953283, built on November 4, 2020 Runtime version: 1.8.0_242-release-1644-b01 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 Dart 2.11.0-213.1.beta [√] Flutter (Channel beta, 1.23.0-18.1.pre, on Microsoft Windows [Version 10.0.19042.685], locale en-150) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [√] Chrome - develop for the web [√] Android Studio (version 4.1.0) [√] Connected device (4 available) • No issues found!
Edited