-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: configure and build Dev Container for flutter development #1144
Conversation
Reviewer's Guide by SourceryThis pull request introduces a Dev Container configuration for building and testing the Android Flutter application, simplifying the development setup and enabling usage in cloud workspaces like GitHub Codespaces. It also includes instructions for connecting to Android devices via ADB for debugging and running the application. Sequence diagram for Dev Container setup and device connectionsequenceDiagram
participant Dev as Developer
participant DC as Dev Container
participant ADB as ADB Server
participant AD as Android Device
Dev->>DC: Open repository in VS Code
DC->>DC: Initialize container
DC->>DC: Install Flutter SDK
DC->>DC: Install Android SDK
alt USB Pass-through
Dev->>AD: Connect via USB
DC->>AD: Detect device via ADB
else Host ADB Server
Dev->>ADB: Start ADB server on all interfaces
DC->>ADB: Connect to host ADB (tcp:5037)
ADB->>AD: Connect to device
else Wireless Connection
Dev->>AD: Enable wireless debugging
DC->>AD: Pair device (adb pair)
DC->>AD: Connect to device (adb connect)
end
DC->>AD: Deploy Flutter app
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
a1d87f8
to
0fbe542
Compare
b34ca68
to
a253b7d
Compare
0fbe542
to
df105a8
Compare
a253b7d
to
093c170
Compare
df105a8
to
f4a2d12
Compare
92c0f62
to
093c170
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would make development really convenient! Thanks for looking after dev xp
This commit adds a Dev Container configuration to allow building and testing the Android Flutter application without additional setup on the host. It also presents a method of using the Dev Container in a cloud workspace (GitHub Codespaces) while still being able to push the builds to a connected Android device.
f4a2d12
to
64cb6a1
Compare
This commit adds a Dev Container configuration to allow building and testing the Android Flutter application without additional setup on the host.
It also presents a method of using the Dev Container in a cloud workspace (GitHub Codespaces) while still being able to push the builds to a connected Android device.
Summary by Sourcery
Build: