Open Arjupta opened 3 years 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:
@adhiamboperes this is a critical issue for GA--I don't think we should be removing it.
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).
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