Firebase auth won't work if using package manager.

is there a solution for this problem? I’m facing the exact same issue