Use network constant URL_USER_DETAILS instead of hardcoding path

Description

  1.  

    1.  

      1. Description

SE-146, OSPR

This app has been upgraded to use the new mobile API v1, however the current named platform release [`open-release/hawthorn.2` only supports mobile API v0.5](https://github.com/edx/edx-platform/blob/open-release/hawthorn.2/lms/urls.py#L162-L165).

This change maintains the current master mobile API v1, but makes it easier for whitelisted app releases to use the legacy mobile API v0.5 instead (using patches).

  1.  

    1.  

      1. Notes

  • This has been successfully tested with the app `release/2.17.0`, but we acknowledge that future releases may drop support for the legacy mobile API v0.5.

  1.  

    1.  

      1. How to test this PR

1. Build and run the app.
1. Login as a user on the LMS
1. Check that the user's course enrollments load successfully.

  1.  

    1.  

      1. Reviewers

  • [ ] @symbolist

  • [ ] edX Reviewers TBD

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Contributor Name

Jillian Vogel

Repo

edx/edx-app-ios

Customer

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

Developer Experiences

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

Priority

Unset
Configure