1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/add_to_app
dependabot[bot] b0f2a6a86d Bump pigeon from 10.1.6 to 11.0.0 in /add_to_app/books/flutter_module_books (#1994)
Bumps [pigeon](https://github.com/flutter/packages/tree/main/packages)
from 10.1.6 to 11.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="94ba82ce52"><code>94ba82c</code></a>
[pigeon] primitive enums (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4580">#4580</a>)</li>
<li><a
href="6a281dbcde"><code>6a281db</code></a>
[css_colors] docs: Update deprecated link address (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4537">#4537</a>)</li>
<li><a
href="383bffa399"><code>383bffa</code></a>
[google_maps_flutter] cloud-based map styling implementation (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4638">#4638</a>)</li>
<li><a
href="32460c7da3"><code>32460c7</code></a>
[image_picker] Fix exception when canceling
<code>pickMultipleMedia</code> on iOS (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4761">#4761</a>)</li>
<li><a
href="3060b1aec9"><code>3060b1a</code></a>
[rfw] Support web (as JS) (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4650">#4650</a>)</li>
<li><a
href="d72a5fe600"><code>d72a5fe</code></a>
[webview_flutter] Update sample code. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4727">#4727</a>)</li>
<li><a
href="c6f758b800"><code>c6f758b</code></a>
[flutter_adaptive_scaffold] Fix top padding for NavigationBar (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4661">#4661</a>)</li>
<li><a
href="354af05222"><code>354af05</code></a>
Remove deprecated <code>ImageProvider</code> methods (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4725">#4725</a>)</li>
<li><a
href="c8a0870ce5"><code>c8a0870</code></a>
[pigeon]: Bump io.mockk:mockk from 1.13.5 to 1.13.7 in
/packages/pigeon/platf...</li>
<li><a
href="e26f3b9374"><code>e26f3b9</code></a>
[camera_android]: Fixes crash when record video on Android versions
lower tha...</li>
<li>Additional commits viewable in <a
href="https://github.com/flutter/packages/commits/pigeon-v11.0.0/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pigeon&package-manager=pub&previous-version=10.1.6&new-version=11.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-08-30 07:52:03 +10:00
..
2023-06-24 14:18:41 +10:00
2023-06-24 14:18:41 +10:00
2023-06-24 14:18:41 +10:00
2023-06-24 14:18:41 +10:00
2021-03-15 10:57:52 +11:00

Add-to-App Samples

This directory contains Android and iOS projects that import and use a Flutter module. They're designed to show recommended approaches for adding Flutter to existing Android and iOS apps.

Samples Listing

  • fullscreen — Embeds a full screen instance of Flutter into an existing iOS or Android app.
  • prebuilt_module — Embeds a full screen instance of Flutter as a prebuilt library that can be loaded into an existing iOS or Android app.
  • plugin — Embeds a full screen Flutter instance that is using plugins into an existing iOS or Android app.
  • books — Mimics a real world use-case of embedding Flutter into an existing Android app and demonstrates using Pigeon to communicate between Flutter and the host application.
  • multiple_flutters — Shows the usage of the Flutter Engine Group APIs to embed multiple instances of Flutter into an existing app with low memory cost.
  • android_view — Shows how to integrate a Flutter add-to-app module at a view level for Android.

Goals for these samples

  • Show developers how to add Flutter to their existing applications.
  • Show the following options:
    • Whether to build the Flutter module from source each time the app builds or rely on a separately pre-built module.
    • Whether plugins are needed by the Flutter module used in the app.
  • Show Flutter being integrated ergonomically with applications with existing middleware and business logic data classes.

Installing Cocoapods

The iOS samples in this repo require the latest version of Cocoapods. To make sure you've got it, run the following command on a macOS machine:

sudo gem install cocoapods

See https://guides.cocoapods.org/using/getting-started.html for more details.

Questions/issues

If you have a general question about incorporating Flutter into an existing iOS or Android app, the best places to go are:

If you run into an issue with the sample itself, please file an issue in the main Flutter repo.