Do android and ios folder need to commit to svn?
Yes, always comit these folders to svn(but you can skip some auto generated files)
There are three main folders in the Flutter project:
lib
, android
and ios
.
lib
takes care of your Dart files. The Android and iOS folders exist to actually build an app on those respective platforms with the Dart files running on them. They also help you add permissions and platform-specific functionality to your project. When you run a Flutter project, it builds depending on which emulator or device it is running on, doing a Gradle or XCode build using the folders inside it.
In short, those folders are entire apps which set the stage for the Flutter code to run.
Don’t commit the following files and directories:
# See https://www.dartlang.org/tools/private-files.html
# Files and directories created by pub
.packages
.pub/
build/
# If you're building an application, you may want to check-in your pubspec.lock
pubspec.lock
# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/
From flutter create
:
.DS_Store
.atom/
.idea
.packages
.pub/
build/
ios/.generated/
packages
pubspec.lock
.flutter-plugins
For more information please refer this to check which files are auto generated.
Hope this will helps you