A new Flutter project.
Run tests with:
flutter test
For the purposes of native development, we will pretty much do everything on a simulated device.
The instructions for setting up such a device are different between Android and iOS.
In general, once we have setup our emulated devices, we can view and select them with:
flutter devices
flutter run -d deviceID
If we're unsure about the status of our native kits, we can always run:
flutter doctor
Run onto everything with the run command:
flutter run -d all
-
Setup Android SDK
-
open android studios
-
start a project
-
open Tools > AVD manager
-
create a device locally
-
Setup Xcode
- open xcode
- start a project
- add a device
-
View the list of available iOS devices:
xcrun simctl list
- Install and launch a device
xcrun simctl install <YOUR-DEVICE-ID> <PATH-TO-APPLICATION-BUNDLE>
xcrun simctl launch <YOUR-DEVICE-ID> <BUNDLE-ID-OF-APP-BUNDLE>
- Launch a simulator
open -a Simulator.app
-
Turn on an emulated phone
-
Run the
flutter drive
command
flutter drive --target='test_driver/setup_sanity.dart'
Be sure to have the setup file and the test file have the same name plus test
For help getting started with Flutter, view our online documentation.
During my development process, I will also be learning dart and flutter. Consult the journal/
directory for my running account of me doing everything