summaryrefslogtreecommitdiff
path: root/modules/enet
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-08-10 17:47:09 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-09-25 12:32:46 +0200
commit7a62bd1e44d58c543cc54408f0cb21bf33ace99b (patch)
treec91b6bddcd2a4fa27874484d0e565ceeddb434a7 /modules/enet
parent53306cb79a32b4d0db7c267e9e01771212766316 (diff)
Document Android permission requirements for network access where needed
Diffstat (limited to 'modules/enet')
-rw-r--r--modules/enet/doc_classes/ENetPacketPeer.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/enet/doc_classes/ENetPacketPeer.xml b/modules/enet/doc_classes/ENetPacketPeer.xml
index 8f0693fb01..4116ba17f2 100644
--- a/modules/enet/doc_classes/ENetPacketPeer.xml
+++ b/modules/enet/doc_classes/ENetPacketPeer.xml
@@ -6,6 +6,7 @@
<description>
A PacketPeer implementation representing a peer of an [ENetConnection].
This class cannot be instantiated directly but can be retrieved during [method ENetConnection.service] or via [method ENetConnection.get_peers].
+ [b]Note:[/b] 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.
</description>
<tutorials>
<link title="API documentation on the ENet website">http://enet.bespin.org/usergroup0.html</link>