Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile/ios): allow http requests

AndreeaCorlaci1daead60acb0
diff --git a/apps/mobile/ios/App/App/Info.plist b/apps/mobile/ios/App/App/Info.plist
index 86e374940b..5a23d25440 100644
--- a/apps/mobile/ios/App/App/Info.plist
+++ b/apps/mobile/ios/App/App/Info.plist
@@ -51,5 +51,14 @@
<array>
<string>localhost</string>
</array>
+ <!-- App Transport Security: Trilium users self-host the sync server,
+ often on LAN IPs, *.local, or personal domains without HTTPS.
+ iOS blocks plain http:// by default — allow it so users can
+ point the app at any sync server they have. -->
+ <key>NSAppTransportSecurity</key>
+ <dict>
+ <key>NSAllowsArbitraryLoads</key>
+ <true/>
+ </dict>
</dict>
</plist>