Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Client: Cannot connect to local backend API to app yet #4917

Open
tuxpiper opened this issue Apr 9, 2024 · 0 comments
Open

Mobile Client: Cannot connect to local backend API to app yet #4917

tuxpiper opened this issue Apr 9, 2024 · 0 comments
Labels

Comments

@tuxpiper
Copy link
Member

tuxpiper commented Apr 9, 2024

Issue description

The mobile client cannot connect to and therefore does not allow for testing or developing with the backend API locally.

How to reproduce the issue

  • Follow the instructions to install and run the backend locally on your computer on the backend API's readme: https://github.com/ushahidi/platform#setup-essentials
  • Test mobile client for android and/or iOS to see that issue described is present. Follow the instructions to clone, setup and launch the mobile client locally at: https://github.com/ushahidi/platform-client-mzima#platform-client-mzima.
  • Go to the mobile client's env.json file and change the backend_url to your backend's localhost url as shown in the readme.
  • On the app's user interface, go through or skip the mobile app's walkthrough, then navigate to the list of deployments. The local backend is not in the list.

Suggested/expected output

At the point where app detects that the backend url returned uses localhost, make it possible to find the locally hosted deployment on the list. It should run the locally hosted app successfully.

Screenshot


Created automatically from USH-913 (https://linear.app/ushahidi/issue/USH-913/mobile-client-cannot-connect-to-local-backend-api-to-app-yet)

@tuxpiper tuxpiper added the linear label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant