flap
Working proof of the Go (golang) server running inside Flutter.
Prerequisites
Build Go server
cd go
macOS:
make macos
iOS:
make ios
iOS Simulator:
make ios-simulator
Run app
cd ..
flutter devices
flutter run -d {target}
Build app
flutter build {macos, ios}
Known issues
- Hot reload doesn't work (workaround: run Go server independently in the development phase)
Q&A
Why .dylib instead of .a as an iOS library?
Because I can despite official docs prefer .a. In fact I haven't even tried .a.