Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

What are all the possible domains CodePush may make requests to? #825

@almirfilho

Description

@almirfilho

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.

Questions:

  1. Are these domains correct?
  2. Are there more?

Thank you for the awesome service and package! =D

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions