You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
In order to submit an iOS app to Apple's App Store, and to keep it as secure as possible, we have to define the NSAppTransportSecurity inside Info.plist file, in which we can define a list of all the domains the app can make HTTP request to – otherwise iOS is just going to block the requests to unspecified domains. I know that just setting NSAllowsArbitraryLoads key to true enables your app to make requests for any domain, but since it decreases security, it's not a good option (and you'll have to justify it to Apple during the app review process).
Doing a little research I've stumbled upon these two domains:
codepush.azurewebsites.net (REST API endpoint)
Codepush uses this endpoint to check for updates from inside the app.
codepushupdates.azureedge.net (CDN for the uploaded bundles)
Codepush uses this endpoint to download new updates (bundles) from.
In order to submit an iOS app to Apple's App Store, and to keep it as secure as possible, we have to define the
NSAppTransportSecurityinside Info.plist file, in which we can define a list of all the domains the app can make HTTP request to – otherwise iOS is just going to block the requests to unspecified domains. I know that just settingNSAllowsArbitraryLoadskey to true enables your app to make requests for any domain, but since it decreases security, it's not a good option (and you'll have to justify it to Apple during the app review process).Doing a little research I've stumbled upon these two domains:
Questions:
Thank you for the awesome service and package! =D