Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2713

Missing a "http" prefix on base url when creating `App` causes a crash

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      A PR upgrading Realm Core, unveiled that passing a base URL without the http or https prefix, when creating an App instance would cause a crash

      We should either upstream this by creating a Core issue to throw an exception instead of asserting or alternatively assert this on the SDK level before trying to construct an app with an invalid base url.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kraen.hansen@mongodb.com Kræn Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: