# Mobile

## Requirements

* [Node.js](https://nodejs.org/en/)

## Installing Apache Cordova

```
$ npm install -g cordova
```

## Creating your project

```
$ cordova create MyGame
```

Running this command will make Cordova create all the directories and files it needs to run. When it's over, copy all the files of your monogatari game to the `www` directory Cordova created.

## Building your App for Android

```
$ cordova build android --prod --release
```

### Distribution via APK files

### Distribution on the Play Store

Distributing your game in the play store requires you to become a developer with a one-time payment.

## Building your App for iOS

```
$ cordova build iOS --prod --release
```


---

# Agent Instructions: 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:

```
GET https://developers.monogatari.io/documentation/releasing-your-game/mobile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
