Hi guys, I have a login authentication feature (linked to Firebase) that will tell me eg Invalid Email, Invalid Password etc.
However, instead of showing the whole "ugly" responseContent, how do I make it such that the notifier tells the user exact what the main issue is
Thanks!!
do all that stuff you are attempting in your current GotText
else Notifier1.ShowAlert notice =responseType ( edit, this should be responseContent , not type, ) using the orange blocks in the GotText sri, typed too fast.
ok, you tried the sugestion from @SteveJG, and as we can see, the response type will now be displayed, which actually is not want you want in the end...
what you want is to get the respnse content as you had it earlier and parse the response content to display only the error, for example INVALID_PASSWORD
the response content is in JSON format, you can use the JsonTextDecodeWithDictionaries method from the web component to convert it into a dictionary
Note Taifun's comments ... responseType should be responseContent. Sri, typed too fast.
A better way to avoid some of the errors would be to check the contents of your input TextBlocks immediately ahead of your Web.Get instruction. Always better to avoid input errors than to trap them if you can.