text
stringlengths
1
372
<topic_start>
updating the app’s version number
the default version number of the app is 1.0.0.
to update it, navigate to the pubspec.yaml file
and update the following line:
version: 1.0.0+1
the version number is three numbers separated by dots,
such as 1.0.0 in the example above, followed by an optional
build number such as 1 in the example above, separated by a +.
both the version and the build number can be overridden in flutter’s
build by specifying --build-name and --build-number, respectively.
in android, build-name is used as versionName while
build-number used as versionCode. for more information,
check out version your app in the android documentation.
when you rebuild the app for android, any updates in the version number
from the pubspec file will update the versionName and versionCode
in the local.properties file.
<topic_end>
<topic_start>
android release FAQ
here are some commonly asked questions about deployment for
android apps.
<topic_end>
<topic_start>
when should i build app bundles versus APKs?
the google play store recommends that you deploy app bundles
over APKs because they allow a more efficient delivery of the
application to your users. however, if you’re distributing
your application by means other than the play store,
an APK might be your only option.
<topic_end>
<topic_start>
what is a fat APK?
a fat APK is a single APK that contains binaries for multiple
ABIs embedded within it. this has the benefit that the single APK
runs on multiple architectures and thus has wider compatibility,
but it has the drawback that its file size is much larger,
causing users to download and store more bytes when installing
your application. when building APKs instead of app bundles,
it is strongly recommended to build split APKs,
as described in build an APK using the
--split-per-abi flag.
<topic_end>
<topic_start>
what are the supported target architectures?
when building your application in release mode,
flutter apps can be compiled for armeabi-v7a (arm 32-bit),
arm64-v8a (arm 64-bit), and x86-64 (x86 64-bit).
flutter supports building for x86 android through ARM emulation.
<topic_end>
<topic_start>
how do i sign the app bundle created by flutter build appbundle?
see signing the app.
<topic_end>
<topic_start>
how do i build a release from within android studio?
in android studio, open the existing android/
folder under your app’s folder. then,
select build.gradle (module: app) in the project panel:
next, select the build variant. click build > select build variant
in the main menu. select any of the variants in the build variants
panel (debug is the default):
the resulting app bundle or APK files are located in
build/app/outputs within your app’s folder.
<topic_end>
<topic_start>
build and release an iOS app
this guide provides a step-by-step walkthrough of releasing a
flutter app to the app store and TestFlight.
<topic_end>
<topic_start>
preliminaries
xcode is required to build and release your app. you
must use a device running macOS to follow this guide.
before beginning the process of releasing your app,
ensure that it meets apple’s app review guidelines.
to publish your app to the app store,
you must first enroll in the apple developer program.
you can read more about the various membership options in apple’s
choosing a membership guide.
<topic_end>
<topic_start>
video overview
for those who prefer video over text,
the following video covers the same material as this guide.
release an iOS app with flutter in 7 steps
<topic_end>
<topic_start>
register your app on app store connect
manage your app’s life cycle on
app store connect (formerly iTunes connect).
you define your app name and description, add screenshots,
set pricing, and manage releases to the app store and TestFlight.
registering your app involves two steps: registering a unique
bundle ID, and creating an application record on app store connect.
for a detailed overview of app store connect, see the
app store connect guide.
<topic_end>
<topic_start>
register a bundle ID