text
stringlengths
1
372
<code_end>
this file should be added to your git repository and marked as executable.
<topic_end>
<topic_start>
workflow configuration
an xcode cloud workflow defines the steps performed in the CI/CD process
when your workflow is triggered.
info note
this requires that your project is already initialized with git
and linked to a remote repository.
to create a new workflow in xcode, use the following instructions:
choose product > xcode cloud > create workflow to open the
create workflow sheet.
select the product (app) that the workflow should be attached to, then click
the next button.
the next sheet displays an overview of the default workflow provided by xcode,
and can be customized by clicking the edit workflow button.
<topic_end>
<topic_start>
branch changes
by default xcode suggests the branch changes condition that starts a new build
for every change to your git repository’s default branch.
for your app’s iOS variant, it’s reasonable that you would want xcode cloud to
trigger your workflow after you’ve made changes to your flutter packages, or
modified either the dart or iOS source files within the lib\ and ios\
directories.
this can be achieved by using the following files and folders conditions:
<topic_end>
<topic_start>
next build number
xcode cloud defaults the build number for new workflows to 1 and increments
it per successful build. if you’re using an existing app with a higher build
number, you’ll need to configure xcode cloud to use the correct build number
for its builds by simply specifying the next build number in your iteration.
check out setting the next build number for xcode cloud builds for more
information.
<topic_end>
<topic_start>
add flutter to an existing app
<topic_end>
<topic_start>
add-to-app
it’s sometimes not practical to rewrite your entire application in
flutter all at once. for those situations,
flutter can be integrated into your existing
application piecemeal, as a library or module.
that module can then be imported into your android or iOS
(currently supported platforms) app to render a part of your
app’s UI in flutter. or, just to run shared dart logic.
in a few steps, you can bring the productivity and the expressiveness of
flutter into your own app.
the add-to-app feature supports integrating multiple instances of any screen size.
this can help scenarios such as a hybrid navigation stack with mixed
native and flutter screens, or a page with multiple partial-screen flutter
views.
having multiple flutter instances allows each instance to maintain
independent application and UI state while using minimal
memory resources. see more in the multiple flutters page.
<topic_end>
<topic_start>
supported features
<topic_end>
<topic_start>
add to android applications
<topic_end>
<topic_start>
add to iOS applications
see our add-to-app GitHub samples repository
for sample projects in android and iOS that import
a flutter module for UI.
<topic_end>
<topic_start>
get started
to get started, see our project integration guide for
android and iOS:
<topic_end>
<topic_start>
API usage
after flutter is integrated into your project,
see our API usage guides at the following links:
<topic_end>
<topic_start>
limitations
<topic_end>
<topic_start>
add flutter to android
<topic_end>
<topic_start>
topics
<topic_end>
<topic_start>
integrate a flutter module into your android project
flutter can be embedded into your existing android
application piecemeal, as a source code gradle
subproject or as AARs.
the integration flow can be done using the android studio
IDE with the flutter plugin or manually.
warning warning
your existing android app might support architectures
such as mips or x86. flutter currently only supports