Created
June 19, 2023 18:25
-
-
Save sedoyjan/d6ebd76fbb8a22207f4821d73089e9c4 to your computer and use it in GitHub Desktop.
Fix RN websocket ios background mode issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <key>NSAppTransportSecurity</key> | |
| <dict> | |
| <key>NSAllowsArbitraryLoads</key> | |
| <true/> | |
| <key>NSExceptionDomains</key> | |
| <dict> | |
| <!-- Your production server name instead of placeholder.io, example.com etc. --> | |
| <key>placeholder.io</key> | |
| <dict> | |
| <key>NSIncludesSubdomains</key> | |
| <true/> | |
| <key>NSExceptionAllowsInsecureHTTPLoads</key> | |
| <true/> | |
| </dict> | |
| <!-- localhost for development --> | |
| <key>localhost</key> | |
| <dict> | |
| <key>NSIncludesSubdomains</key> | |
| <true/> | |
| <key>NSExceptionAllowsInsecureHTTPLoads</key> | |
| <true/> | |
| </dict> | |
| </dict> | |
| </dict> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment