Document the permission requirement on Android on network tutorials

This commit is contained in:
Hugo Locurcio
2021-08-11 18:15:28 +02:00
parent 33867029bb
commit 17c5fe0e35
5 changed files with 35 additions and 0 deletions

View File

@@ -20,6 +20,13 @@ Using WebSocket in Godot
WebSocket is implemented in Godot via three main classes :ref:`WebSocketClient <class_WebSocketClient>`, :ref:`WebSocketServer <class_WebSocketServer>`, and :ref:`WebSocketPeer <class_WebSocketPeer>`. The WebSocket implementation is compatible with the High Level Multiplayer. See section on :ref:`high-level multiplayer <doc_high_level_multiplayer>` for more details.
.. warning::
When exporting to Android, make sure to enable the [code]INTERNET[/code]
permission in the Android export preset before exporting the project or
using one-click deploy. Otherwise, network communication of any kind will be
blocked by Android.
Minimal client example
^^^^^^^^^^^^^^^^^^^^^^