> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/extensions-1/pos/mobile-app/app-build-and-release.md).

# App build & release

## Build for Android <a href="#build-for-android" id="build-for-android"></a>

For debug build you can run command:

```
flutter build apk
```

You will get a larger merged apk with this. But you can split them with this command:

```
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
```

Build file location: `<project>/build/app/outputs/flutter-apk/`&#x20;

For deploying it please follow this documentation: <https://docs.flutter.dev/deployment/android>

### Android Release APK

When you have finish configuring your app(change logo/name etc), you might want to publish your app to Google play store. You need to do some extra configuration to generate a store ready release version of your app.

Below is a link to both the flutter official documentation on generating a **release apk**.

**Build and release an Android app:** <https://flutter.dev/docs/deployment/android>

{% hint style="info" %}
Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=g1fByAsqQRk>" %}

### Get Release Keys with GUI

For release keys use [Keystore explorer](https://keystore-explorer.org/) to see the SHA1 and SHA256.

## Build for iOS <a href="#build-for-ios" id="build-for-ios"></a>

When you have finish configuring your app(change logo/name etc), you might want to publish your app to **Apple App store**. You need to do some extra configuration to generate a store ready release version of your app.

Below is a link to both the flutter official documentation on building and publishing the app for iOS.

**Build and release an iOS app:** <https://flutter.dev/docs/deployment/ios>

{% hint style="info" %}
Here is also a video explaining the steps involve in generating it(if you prefer a video tutorial)
{% endhint %}

{% embed url="<https://www.youtube.com/watch?feature=emb_title&v=akFF1uJWZck>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://edentech.gitbook.io/glover/extensions-1/pos/mobile-app/app-build-and-release.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
