Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions sites/docs/src/content/add-to-app/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,15 @@ see our API usage guides at the following links:
</a>
</div>

## Migrating from add-to-app to a standalone Flutter app

If your project began as an add-to-app module and you want to convert it into a full, standalone Flutter application:

1. **Create a standalone project structure**: Run `flutter create <app_name>` to generate fresh native platform harnesses (`android/`, `ios/`, `macos/`, etc.).
2. **Copy Dart source code and assets**: Move your `lib/`, `pubspec.yaml`, `assets/`, and tests from your Flutter module into the newly created standalone application root.
3. **Port platform integration code**: Move any custom platform channel handlers or native plugin initializations from the host app into the new native platform projects (`android/app/src/main/` or `ios/Runner/`).
4. **Clean up host app integration**: Remove the add-to-app module dependencies (such as AAR or Swift package dependencies and embedding hooks) from your original host app repositories.

## Limitations

Mobile limitations:
Expand Down
6 changes: 6 additions & 0 deletions sites/docs/src/content/learn/pathway/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ take full advantage of the framework.

</Stepper>

## Ready to start?

Get started by installing Flutter and setting up your development environment:

[Start with Step 1: Quick Install →](/learn/pathway/quick-install)

<img src="/assets/images/docs/learn/beginner.jpg" alt="Dash with question marks around her; looking curious." class="image-wrapper learn-image-wrapper">


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,24 @@ To use the plugin:
flutter build macos --config-only
```

## How to remove CocoaPods after migrating to Swift Package Manager

Once all your dependencies have migrated to Swift Package Manager and your project builds using SwiftPM, you can clean up CocoaPods from your project:

1. Deintegrate CocoaPods from your project by running the following command from the `ios` or `macos` directory:

```sh
pod deintegrate
```

2. Remove the `Podfile` and `Podfile.lock` files from your `ios` or `macos` directory.

3. Clean and rebuild your project:

```sh
flutter clean
```

## How to turn off Swift Package Manager

In general, don't do this. Remember that
Expand Down
Loading