-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update release docs #653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update release docs #653
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,21 +15,36 @@ When you're ready to prepare a *release* version for Android, for example to | |
| * TOC Placeholder | ||
| {:toc} | ||
|
|
||
| ## Reviewing the App Manifest | ||
| ## Review the App Manifest | ||
|
|
||
| When you create a new app, a default [App Manifest][manifest] file `AndroidManifest.xml` | ||
| is created in `<app dir>/android/app/src/main/`. Before releasing, | ||
| review the contents of this file and verify the values are correct, especially: | ||
| Review the default [App Manifest][manifest] file `AndroidManifest.xml` located | ||
| in `<app dir>/android/app/src/main/` and verify the values are correct, | ||
| especially: | ||
|
|
||
| * `application`: Edit the [`application`][applicationtag] tag to reflect the final name of the app. | ||
| * `application`: Edit the [`application`][applicationtag] tag to reflect the | ||
| final name of the app. | ||
|
|
||
| * `manifest`: Specify the [version][versions] code and name in the [`manifest`][manifesttag] tag. | ||
| * `uses-permission`: Remove the `android.permission.INTERNET` | ||
| [permission][permissiontag] if your application code does not need Internet | ||
| access. The standard template includes this tag to enable communication between | ||
| Flutter tools and a running app. | ||
|
|
||
| * `uses-sdk`: Specify the [API versions][apiversionstag] the app is compatible with. | ||
| ## Review the build configuration | ||
|
|
||
| * `uses-permission`: Remove the `android.permission.INTERNET` [permission][permissiontag] if | ||
| your application code does not need Internet access. The standard template includes this tag | ||
| to enable communication between Flutter tools and a running app. | ||
| Review the default [Gradle build file][gradlebuild] file `build.gradle` | ||
| located in `<app dir>/android/app/` and verify the values are correct, especially: | ||
|
|
||
| * `defaultConfig`: | ||
|
|
||
| * `applicationId`: Specify the final, unique (Application Id)[appid] | ||
|
|
||
| * `versionCode` & `versionName`: Specify the interall app version number, and | ||
| the version number display string. Consult the version information guidance in | ||
| the [versions documenation][versions] for details. | ||
|
|
||
| * `minSdkVersion` & `targetSdkVersion`: Specify the minimum API level, and the | ||
| API level on which the app is designed to run. Consult the API level guidance | ||
| in the [versions documenation][versions] for details. | ||
|
||
|
|
||
| ## Adding a Launcher icon | ||
|
|
||
|
|
@@ -72,7 +87,7 @@ reference to your keystore: | |
| storePassword=<password from previous step> | ||
| keyPassword=<password from previous step> | ||
| keyAlias=key | ||
| storeFile=<location of the key store file, e.g. '/Users/<user name>/key.jks'> | ||
| storeFile=<location of the key store file, e.g. /Users/<user name>/key.jks> | ||
| ``` | ||
|
|
||
| *Note*: Keep this file private; do not check it into public source control. | ||
|
|
@@ -154,8 +169,8 @@ Google Play Store, see the [Google Play publishing documentation][play]. | |
|
|
||
| [manifest]: http://developer.android.com/guide/topics/manifest/manifest-intro.html | ||
| [manifesttag]: https://developer.android.com/guide/topics/manifest/manifest-element.html | ||
| [appid]: https://developer.android.com/studio/build/application-id.html | ||
| [permissiontag]: https://developer.android.com/guide/topics/manifest/uses-permission-element.html | ||
| [apiversionstag]: https://developer.android.com/guide/topics/manifest/uses-sdk-element.html | ||
| [applicationtag]: https://developer.android.com/guide/topics/manifest/application-element.html | ||
| [versions]: https://developer.android.com/studio/publish/versioning.html | ||
| [launchericons]: https://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documentation