yzxchn / ShelterTechCasseySMS

1 stars 0 forks source link

Test: Users have to specify the correct city (mobile) #9

Open bryanh210 opened 6 years ago

bryanh210 commented 6 years ago

For now, it shows up fine, getting the location as San Francisco, but if there are streets with the same name across multiple cities, for example: 111 Market Street in San Francisco vs 111 Market Street in Philadelphia. Also: 'SF' vs ' San Francisco'. GMap seems to recognize correctly that they are the same terms. But we actually limit our user scope to only San Francisco, not the whole world so it might not be a big problem.

bryanh210 commented 6 years ago

Testing: 1) If user doesn't input "San Francisco" or "SF" (data contains no words like that), I will attach that to the end of the input address 2) If a user enters an address that does not exist, catch error & output out error to the users. Have to call fb messenger to reply.