google / ground-android

Ground mobile data collection app for Android
http://groundplatform.org
Apache License 2.0
244 stars 119 forks source link

[Select one/many - Other] Focus on "other" text field when other option is selected #2403

Open gino-m opened 8 months ago

gino-m commented 8 months ago

@justinkimtang Could you PTAL? @jcqli FYI

angrezichatterbox commented 4 months ago

Is this issue open to be fixed by other .. Could I fix this issue

gino-m commented 4 months ago

@angrezichatterbox Sure, please go ahead! You can find an end-to-end dev guide here: https://github.com/google/ground-platform/wiki/Ground-Developer's-Guide

angrezichatterbox commented 4 months ago

The app seems to crash when I click on sign-in with google . Is it a problem from my side ?

gino-m commented 3 months ago

The app seems to crash when I click on sign-in with google . Is it a problem from my side ?

Sorry for the delay. Are you running the app against local Firebase emulator?

angrezichatterbox commented 3 months ago

I am running on an android simulator installed on my laptop

gino-m commented 3 months ago

@angrezichatterbox Please be sure you're building localDebug variant and following https://github.com/google/ground-platform/wiki/Ground-Developer's-Guide to get started. Let me know if that helps!

angrezichatterbox commented 3 months ago

I will try running it and solving the issue by following the guide properly. Thanks :)

anandwana001 commented 3 months ago

Hi @angrezichatterbox Are you still facing the issue?

Happy to help you set up the app.

angrezichatterbox commented 3 months ago

Yes I am not able to launch the firebase emulator and set it up . I tried launching but I am facing some errors.

anandwana001 commented 3 months ago

Quick Questions @angrezichatterbox

  1. Have you been able to put the google-services.json correctly?
  2. Were you able to run a local server?
angrezichatterbox commented 3 months ago

I will try setting it up once again properly. I haven't yet worked with firebase emulator.

anandwana001 commented 3 months ago

Feel free to let me know if you need to get on a call and wrap up this initial process.

angrezichatterbox commented 3 months ago

The sign-in does not seem to work for me. I did as suggested on the contributing.md . Should I also mention the error showed in logcat for me?

jcqli commented 3 months ago

@angrezichatterbox Any updates?

angrezichatterbox commented 3 months ago

I will be trying to setup the firebase once again with the help of my friend and start working on this. if I am still unable to work on it i will unassign myself.

angrezichatterbox commented 3 months ago

I am now able to run the app. Could I get note of what to solve exactly since the screen that's currently visible to me is no surveys available.

Screenshot 2024-08-23 at 7 04 28 PM
gino-m commented 3 months ago

I am now able to run the app. Could I get note of what to solve exactly since the screen that's currently visible to me is no surveys available.

Screenshot 2024-08-23 at 7 04 28 PM

You need to first create a survey via the web app. When you reach the screen when you define tasks, add a "Multiple choice" task with an "Other" option. See https://github.com/google/ground-platform/wiki/Ground-Developer%27s-Guide for detailed instructions on running the web app locally.

angrezichatterbox commented 3 months ago

I have ran the web locally and made a survey. Is it normal to see an empty map when opening the survey. How exactly to see the survey question and option. My apologies if I am asking too much questions.

jcqli commented 2 months ago

@angrezichatterbox Are you still facing issues setting up your environment?

angrezichatterbox commented 2 months ago

@angrezichatterbox Are you still facing issues setting up your environment?

I set up the environment properly. I logged into the app and then was doing the feedback I was not able to select any place so that I could continue in the app since the map was empty.

gino-m commented 2 months ago

I have ran the web locally and made a survey. Is it normal to see an empty map when opening the survey. How exactly to see the survey question and option. My apologies if I am asking too much questions.

Sorry I missed this. Not sure you can use the map when running locally. If you set up against your own Firebase instance it should work.

That said, you should be able to add a point or polygon - just make sure you've selected "Free form" data collection for at least one job when setting up your survey on the web interface.

angrezichatterbox commented 2 months ago

I have run the web locally and made a survey. Is it normal to see an empty map when opening the survey. How exactly to see the survey question and option. My apologies if I am asking too much questions.

Sorry I missed this. Not sure you can use the map when running locally. If you set up against your own Firebase instance it should work.

That said, you should be able to add a point or polygon - just make sure you've selected "Free form" data collection for at least one job when setting up your survey on the web interface.

Ok, let me try doing this. When I loaded the map I was just able to see a blue screen.