oppia / oppia-android

A free, online & offline learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
315 stars 517 forks source link

Change the Endpoint for retrieving Platform Parameters #3506

Open Arjupta opened 3 years ago

Arjupta commented 3 years ago

Currently the PlatformParameterService points to a demo endpoint for fetching platform parameters from the Oppia Backend. This url needs to be changed to a new endpoint after the platform parameter project gets completed. For doing so we need to first make the neccessary changes in the Oppia Backend to support the expected format of response needed and Afterwards we will raise a Pull request that changes the url in PlatformParameterService

BenHenning commented 1 month ago

This has actually evolved since the original issue was filed. The web team has completed a revamping of the feature flag & platform parameter system. As of now:

As of now, no work can be done on this until web is updated to reintroduce its platform parameter controller with support for platform evaluation (so that Android only receives Android-specific constants).

Once that's completed, the following code changes will need to be made:

The code changes above and the end-to-end behavior will need to be verified in two stages:

BenHenning commented 3 weeks ago

@adhiamboperes this is a critical issue for GA--I don't think we should be removing it.

BenHenning commented 1 week ago

https://github.com/oppia/oppia/issues/21097 is the Oppia web issue that needs to be solved in tandem to this work (since it's what needs to be done in order to expose the new endpoint that will be needed by the app).