The authentication schemes were hardcoded to use mmauthbeta for our Beta app and mmauth for our release app. While the server allows this schemes to be changed in order to be used with custom mobile builds, the mobile app did not have a way to easily customize them, having to make some changes in the code before compiling.
This PR introduces a couple of environment variables to be able to change these authentication schemes on build time.
Note: This is backwards compatible so that the app builds the same way as before if no env var is set.
Summary
The authentication schemes were hardcoded to use
mmauthbeta
for our Beta app andmmauth
for our release app. While the server allows this schemes to be changed in order to be used with custom mobile builds, the mobile app did not have a way to easily customize them, having to make some changes in the code before compiling.This PR introduces a couple of environment variables to be able to change these authentication schemes on build time.
Note: This is backwards compatible so that the app builds the same way as before if no env var is set.
Ticket Link
N/A.
Release Note