mifos-mobile
mifos-mobile copied to clipboard
Change API Endpoint option not present at Log In Activity
Summary:
Change API Endpoint option not present at Log In Activity
Steps to reproduce:
Change the Endpoint from Settings
Expected behaviour:
If User changes Endpoint, then User is taken Log In Activity. Now, if User entered a wrong Endpoint, he/she would not be able to Log In. Then, only way to Log In is by uninstalling the App and installing Again, which is not good for UX of the App. Instead, we can add option to change API Endpoint Option in the Log In Screen.
Observed behaviour:
User cannot Log In.
Device and Android version:
Xiaomi, Marshmallow
@therajanmaurya @dilpreet96 @droidchef @satyan I would like to work on this issue.
@miPlodder
We also need to think about this from the perspective of the client who would be using the app.
Client would either be downloading the app from Google Play (if it was on a Mifos-hosted account) or most likely they'd be downloading it from a partner or a financial institution who is providing this app to its members.
In either case, the end client who is using the app to view details about their accounts doesn't want to and shouldn't ever have to modify the baseURL - they do however want to be able to simply create an account or log in by using easily known details (i.e. account number, email, phone number).
The partner or financial institution maintaining and distributing the app however would need to modify the base URL before they distribute it to their clients/members and ideally they could do it without having to get down in the code but I guess in any case even if they were easily able to edit the base URL - they would somehow have to generate a new APK with that as the default.
For the latter point around generating APK - is that something that perhaps be put in the self-service UI portal - a means to change base URL for mobile app and generate an APK without having to go through the code build process themselves.