# iOS 和 Android

使用 Hology Engine 構建的遊戲是平台獨立的。這意味著您可以使用相同的代碼同時適用於 iOS 和 Android發行遊戲。如果您願意,您仍然可以整合兩個平台上都存在的原生功能。您構建的應用程序可以同時發布到 App Store 和 Google Play Store。

您的應用程序需要打包成 iOS 和 Android 應用。一個簡單的方法是使用 Capacitor.js。從您的項目目錄中,您可以按照此鏈接指南中解釋的步驟進行操作。

{% embed url="<https://capacitorjs.com/docs/getting-started>" %}


---

# 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://docs.hology.app/zh-tw/release/you-xi-fa-xing/ios-he-android.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.
