While working on my Android app in Ionic Angular with Firebase, I encountered a problem in Visual Studio Code yesterday. Despite thorough searching, I couldn't find a solution.
This is the TypeScript code from my user registration page
The error lies in Line 41 with "const id = res.user.uid;"
Please assist me!
I attempted to change "const id = res.user.uid;" to "const id = res.user?.uid;", but it did not work.