openedx-unsupported/edx-app-ios

[question] is it possible to target the prod with the app from the current repository ?

Closed this issue · 3 comments

I'd like to build the mobile app to be the same as the one in the appstore and try re-building it with various options to see their effect on the look-and-feel.

I've tried specifying the following hosts but none of them worked for my website credentials

https://prod-edxapp.edx-cdn.org
https://www.edx.org/course
https://courses.edx.org

Most likely, I am missing the correct OAUTH_CLIENT_ID but I assume that keeping it open might be a security breach, so the id for the edx site is not publicly available by design.
Please confirm if that's the case.

My idea was focusing on the mobile part skipping the "website setup on localhost" and "authoring test content" part.
Are there any other fast ways to rapidly get started with the mobile project with some existing publicly available environment?

Thanks in advance.

P.S. Sorry if I'm asking stupid things right now but I clearly need some clarifications or guidance.


Here is my config file

API_HOST_URL: 'https://courses.edx.org'
PLATFORM_NAME: 'edx website'           
ENVIRONMENT_DISPLAY_NAME: 'edx edu test'
FEEDBACK_EMAIL_ADDRESS: 'adodatko@dataart.com'
REGISTRATION_ENABLED: 'false'      
OAUTH_CLIENT_ID: ''    
DEBUG: 'true'                      
COURSE_SHARING_ENABLED: 'false'    
DISCUSSIONS_ENABLED: 'false'       
PUSH_NOTIFICATIONS: 'false'        
CERTIFICATES_ENABLED: 'false'      
USER_PROFILES_ENABLED: 'false'     
BADGES_ENABLED: 'false'            
APP_REVIEWS_ENABLED: 'false'       
COURSE_VIDEOS_ENABLED: 'true'      
DISCUSSIONS_ENABLE_PROFILE_PICTURE_PARAM: 'false' 
FIREBASE_ENABLED: 'false'
VIDEO_TRANSCRIPT_ENABLED: 'false'
WHATS_NEW_ENABLED: 'false'                        
COURSE_DATES_ENABLED: 'false'                     
USING_VIDEO_PIPELINE: 'true'       
ANNOUNCEMENTS_ENABLED: 'true'
TAB_LAYOUTS_ENABLED: 'true'


FACEBOOK:
  ENABLED: 'false'

GOOGLE:
  ENABLED: 'false'

NEW_RELIC:
  ENABLED: 'false'

SEGMENT_IO:
  ENABLED: 'false'

OAUTH_CLIENT_ID is used to authenticate a user on mobile so you should have had set it up properly before working on a mobile app for any platform.

OAUTH_CLIENT_ID is used to authenticate a user on mobile so you should have had set it up properly before working on a mobile app for any platform.

I understand that. I was asking if the value for accessing https://courses.edx.org is publicly available (has been published on confluence or some other publicly available location).

I understand that. I was asking if the value for accessing https://courses.edx.org is publicly available (has been published on confluence or some other publicly available location).

No it's not avialble for the public use, becausehttps://courses.edx.org isn't a test URL, it's a URL of edX platform.