AOSSIE-Org / Resonate

Clubhouse, but Open Source. A social voice platform.
GNU General Public License v3.0
171 stars 123 forks source link

[onboarding] trailing space username auth bug fix #269

Closed theadityaagnihotri closed 1 month ago

theadityaagnihotri commented 4 months ago

Description

The username field on the onboarding_screen was giving error general_argument_invalid, Invalid documentId param: UID must contain at most 36 chars. Valid chars are a-z, A-Z, 0-9, and underscore. Can't start with a leading underscore (400) This was happening due to a trailing space in the input which was not accounted for.

Fixes #268

Type of change

How Has This Been Tested?

The code has been tested on my local machine using an android emulator and now the code is functioning as intended.

Checklist:

Maintainer Checklist

AyaNady17 commented 1 month ago

Good Work @theadityaagnihotri 🚀

This is good to merge will merge after the previously scheduled PR's are merged

theadityaagnihotri commented 1 month ago

Ok @AyaNady17