1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/add_to_app/fullscreen
dependabot[bot] b7ae3d10c5 Bump espresso from 0.3.0+10 to 0.4.0 in /add_to_app/fullscreen/flutter_module (#2349)
Bumps [espresso](https://github.com/flutter/packages/tree/main/packages)
from 0.3.0+10 to 0.4.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="007ec6676f"><code>007ec66</code></a>
Update espresso dependencies (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7048">#7048</a>)</li>
<li><a
href="01527175e3"><code>0152717</code></a>
[camera] Fix iOS torch mode regression (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7085">#7085</a>)</li>
<li><a
href="4063b20243"><code>4063b20</code></a>
[google_maps_flutter] Convert Obj-C-&gt;Dart calls to Pigeon (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7086">#7086</a>)</li>
<li><a
href="8e6ac90614"><code>8e6ac90</code></a>
[camera_avfoundation] fix sample times not being numeric after
pause/resume. ...</li>
<li><a
href="5cc641822e"><code>5cc6418</code></a>
[camera] Convert Windows to Pigeon (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/6925">#6925</a>)</li>
<li><a
href="f34184e658"><code>f34184e</code></a>
[camera] Deprecate <code>maxDuration</code> in platform interface (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7078">#7078</a>)</li>
<li><a
href="edb38e0eb4"><code>edb38e0</code></a>
[google_maps_flutter] Semi-convert remaining iOS host API calls to
Pigeon (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7">#7</a>...</li>
<li><a
href="47a92dbdea"><code>47a92db</code></a>
[path_provider] Remove <code>win32</code> (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/7073">#7073</a>)</li>
<li><a
href="9627de9141"><code>9627de9</code></a>
[google_maps_flutter] Move iOS inspector to Pigeon (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/6937">#6937</a>)</li>
<li><a
href="cbfffa6502"><code>cbfffa6</code></a>
[camera]: Bump com.android.tools.build:gradle from 7.3.0 to 8.5.0 in
/package...</li>
<li>Additional commits viewable in <a
href="https://github.com/flutter/packages/commits/espresso-v0.4.0/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=espresso&package-manager=pub&previous-version=0.3.0+10&new-version=0.4.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>
2024-07-14 15:48:35 +10:00
..

fullscreen

Embeds a full screen instance of Flutter into an existing iOS or Android app.

Description

These apps showcase a relatively straightforward integration of flutter_module:

  • The Flutter module is built along with the app when the app is built.
  • The Flutter engine is warmed up at app launch.
  • The Flutter view is presented with a full-screen Activity or UIViewController.
  • The Flutter view is a navigational leaf node; it does not launch any new, native Activities or UIViewControllers in response to user actions.

If you are new to Flutter's add-to-app APIs, these projects are a great place to begin learning how to use them.

tl;dr

If you're just looking to get up and running quickly, these bash commands will fetch packages and set up dependencies (note that the above commands assume you're building for both iOS and Android, with both toolchains installed):

  #!/bin/bash
  set -e

  cd flutter_module/
  flutter pub get

  # For Android builds:
  open -a "Android Studio" ../android_fullscreen # macOS only
  # Or open the ../android_fullscreen folder in Android Studio for other platforms.

  # For iOS builds:
  cd ../ios_fullscreen
  pod install
  open IOSFullScreen.xcworkspace

Requirements

  • Flutter
  • Android
    • Android Studio
  • iOS
    • Xcode
    • Cocoapods

Questions/issues

See add_to_app/README.md for further help.