I have a cloud functions which returns the following in JSON (checked in browser)
{
"result": true,
"url": "https://logi...."
}
then I have a conditional statement checking for $["result"]
If the value is false it will show a snackbar with the value from $["error"]
Now it shows a snackbar with the word true
in it
What am I doing wrong ?