Unable to start a visit in Android

Hi,

I am not able to start a new visit from the app. When I start a visit it shows a toast of bad request to me, I read the logcat it shows “Visit Type is required” the link to Pastebin - https://pastebin.com/zLX3aU3h

On debugging I found that the visit type is not stored in the shared preferences (which is supposed to be done in LoginPresenter.java on login).

On looking at the logcat while logging in I found this - https://pastebin.com/QFBJUbFd

Can anyone please help, I am struggling with this since quite long

What OpenMRS version are you using? Also, you need to define a visit type under Administration, Manage Visit Types and try again.

I am using version 2.6.1 (I am using the on GitHub). I couldn’t find any such options in the app. I’ve also gone through this https://openmrs.github.io/openmrs-android-client-user-guide/

What OpenMRS server are you connecting the mobile App? NB: The app feeds from a server which has all the settings required to run effectively.

Go through these: OpenMRS Android Client User Guide & OpenMRS android client requirements

The server address I am using is https://demo.openmrs.org/openmrs