> For the complete documentation index, see [llms.txt](https://saral.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://saral.sunbird.org/use/update-base_url-apkurl-in-apk.md).

# Update BASE\_URL,apkURL in APK

From unix/mac terminal open apk attached with release in `vi` editor and update `BASE_URL` using below steps.

1\) Download APK file from release notes Assets section into \<target\_folder>.                                   For example for `v1.5.0` release download apk from  <https://github.com/Sunbird-Saral/Project-Saral/releases/download/v1.5.0/saral-app-unsigned-v1.5.0.apk>

2\) Open Terminal or shell in \<target\_folder> and use below `vi` command to open apk in `vi` editor.

&#x20;`vi saral-app-unsigned-v1.5.x.apk`&#x20;

3\) Press `Esc` key and type `/index.android.bundle` and presss `Enter` key to locate `assets/index.android.bundle` file and press `Enter` key. This will open up the file for editing.

4\) Search for `TO_BE_REPLACED` string and replace it with target BASE\_URL. For example \`[https://saral-statename.anuvaad.org](https://saral-statename.anuvaad.org/)\`

5\) Press `Esc` key and enter `:wq` to save and go to file list the `vi` editor. Press `Esc` key and enter `:q` to quit the `vi` editor.

6\) APK file should be updated with target BASE\_URL with above steps.

7\) Search for `apkURL` and change the value to actual Playstore URL based on the implementation.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://saral.sunbird.org/use/update-base_url-apkurl-in-apk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
