website icon indicating copy to clipboard operation
website copied to clipboard

Flutter add2app paths ahould be correct (ie bugfree), clear/easy to understand and match Android

Open neiljaywarner opened this issue 6 months ago • 0 comments

Page URL

https://docs.flutter.dev/add-to-app/ios/project-setup/

Page source

https://github.com/flutter/website/tree/main/src/content/add-to-app/ios/project-setup.md

Describe the problem

I believe that cd /path/to/my_flutter for ios module is both incorrect, and slightly confusing compared to the android instructions at https://docs.flutter.dev/add-to-app/android/project-setup#create-a-flutter-module

I believe that the ios instrucitons would create /path/to/my_flutter/my_flutter which is probably not what we want and probably will not "just work" with the rest of the instructions (ie won't be a sibling project)

Expected fix

ios should match Android for creating a flutter module, ie cd some/path/ flutter create -t module --org com.example flutter_module In fact it should be somehow "highlighted" that the same flutter module will work, ie optimize for the 80% happy path where ios host and android host use the same flutter module.

Additional context

No response

I would like to fix this problem.

  • [ ] I will try and fix this problem on docs.flutter.dev.

neiljaywarner avatar Jun 24 '25 15:06 neiljaywarner