Files
cup_edit/docs/web.mdx
Nick Fisher 383fc221d9 add web docs
2025-05-18 15:08:47 +08:00

27 lines
484 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## Web
First, you must manually compile the wasm+javascript module. This requires:
1) GNU Make
2) CMake
3) Emscripten
```
make wasm
```
### Flutter
Thermion requires Android SDK version 22, so change your `app/android/build.gradle` to match this version or higher
```groovy
defaultConfig {
...
minSdk = 22
...
}
```
```
flutter run -d chrome --web-header Cross-Origin-Embedder-Policy=require-corp --web-header Cross-Origin-Opener-Policy=same-origin
```