-
-
Notifications
You must be signed in to change notification settings - Fork 10
Build
Fareez Iqmal edited this page Jul 3, 2023
·
2 revisions
Please make sure the tools to build the app are ready.
Clone the project to your local machine. If you are not familiar with git command line, you can use GitHub Desktop.
git clone https://github.com/iqfareez/iium_schedule.git
This app is ready to run on Android, Web and Windows. For iOS, please see iOS.
First and foremost, run the following command to get the dependencies.
flutter pub get
Then, according to the platform you want to run the app, run the following command.
Platform | Command |
---|---|
Android | flutter run |
Web | flutter run -d chrome --web-renderer canvaskit |
Windows | flutter run -d windows |
Note
- For Web, the
web-renderer
needs to be explicitly set tocanvaskit
. Some feature of the app may not working correctly inhtml
renderer. See issue #17.
I am not targetting iOS platform for now due to resource constraints. If you want to run the app on iOS, you need to add iOS to the project
flutter create . --platforms=ios
If you have successfully run the app on iOS, it would be really helpful if you can make a pull request. So, other people can run the app on iOS too.