openMF / mifos-mobile

Repository for the Mifos Mobile Banking App for clients
https://openmf.github.io/mobileapps.github.io/
Mozilla Public License 2.0
272 stars 675 forks source link

Can't login using my own server locally #2127

Open hghost50 opened 1 year ago

hghost50 commented 1 year ago

Summary:

Steps to reproduce:

When i change the API ENDPOINT to my domain name in BaseURL.kt

Expected behaviour:

It should log into my accountm without error

Observed behaviour:

It displays an error: Error During Login

gururani-abhishek commented 1 year ago

Hey @hghost50, join our slack channel there you may find more information and can also get troubleshooting information regarding hosting this app on a local server. link to slack

hghost50 commented 1 year ago

Ok i will. Do you have any idea about this issue?

gururani-abhishek commented 1 year ago

It might be related to the specifics of new API endpoints that you've added. I would suggest go ahead and post your detailed query in our slack channel.

gururani-abhishek commented 1 year ago

It might be related to the specifics of new API endpoints that you've added. I would suggest go ahead and post your detailed query in our slack channel.

@hghost50

hghost50 commented 1 year ago

Is possible to connect mifos mobile to your own local server Ubuntu?

hghost50 commented 1 year ago

Still stuck at this point even in slack mifos. anybody with an idea?

gururani-abhishek commented 1 year ago

Hey @hghost50 What local sever are you trying to create? The API endpoints right now are self-service Fineract APIs, changing them to anything else won't really work unless required changes are made to the mobile application. I'll be able to help you better, if you can share more details into what are you trying to accomplish?

hghost50 commented 1 year ago

This is what i want to accomplish: i want to use my mifos x platform which i already installed locally on Ubuntu server 18.04 to connect the mifos mobile app.

hghost50 commented 1 year ago

Here is the way i proceed:

hghost50 commented 1 year ago

i want to use my own data, instead of the demo data

gururani-abhishek commented 1 year ago

Did you check the working of new API Endpoints on Postman? Also lemme tag my friend, let's see if he can help us. Hey @PratyushSingh07, do you have any idea regarding this?

hghost50 commented 1 year ago

Yes i tested it on RESTClient is working.

PratyushSingh07 commented 1 year ago

Here is the way i proceed:

  • Had deploy mifos x platform on ubuntu 18.04 (already done)
  • Now i want to connect the mifos mobile to my mifos x platform, had change the url from demo.mifos.io (const val API_ENDPOINT = "demo.mifos.io") to my local domain name in mifos-mobile/app/src/debug/java/org/mifos/mobile/api/BaseURL.kt
  • But when i try to enter username and password, it pops up an error: Error During Login

theres another BaseURL file in mobile/app/src/release/java/org/mifos/mobile/api/BaseURL.kt if I am not mistaken. Do make the changes there as well and see if it works out. Apart from that I am not really sure as to what the error can be

hghost50 commented 1 year ago

Had did the changes in mobile/app/src/release/java/org/mifos/mobile/api/BaseURL.kt, is still not connecting to the mifos mobile.

hghost50 commented 1 year ago

Is the issue coming from the mifosx platform? is there any configurations to make on the mifos x platform (localy)?

hghost50 commented 1 year ago

Any idea?

hghost50 commented 1 year ago

Any idea?

hghost50 commented 1 year ago

Any idea?

hghost50 commented 1 year ago

Any idea?

hghost50 commented 1 year ago

Any idea?