1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-19 21:41:43 +00:00
Files
samples/add_to_app/fullscreen/README.md
Loïc Sharma 5c24a75233 Fix the ios_fullscreen app (#2817)
Fixes the ios_fullscreen add-to-app sample app:

1. The Flutter module was renamed from `flutter_module` to
`flutter_module_fullscreen`. However, the iOS native app had not been
updated to reflect this
2. Flutter's minimum deployment version was raised to 13.0. The iOS
native app targeted iOS 12.4.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [ ] I have added sample code updates to the [changelog].
- [x] I updated/added relevant documentation (doc comments with `///`).


If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md
[CLA]: https://cla.developers.google.com/
[Discord]:
https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
[changelog]: ../CHANGELOG.md

Co-authored-by: Eric Windmill <eric@ericwindmill.com>
2026-04-15 09:31:48 -07:00

56 lines
1.5 KiB
Markdown

# 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_fullscreen`:
* 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):
```bash
#!/bin/bash
set -e
cd flutter_module_fullscreen/
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
# Then, click "Run" in Xcode to launch the app into your Simulator or device
```
## Requirements
* Flutter
* Android
* Android Studio
* iOS
* Xcode
* Cocoapods
## Questions/issues
See [add_to_app/README.md](../README.md) for further help.