Skip to content

Commit

Permalink
fix(authentication): authStateChange listener fires too early on th…
Browse files Browse the repository at this point in the history
…e web (#613)
  • Loading branch information
robingenz committed Apr 16, 2024
1 parent 249ba0a commit b91b3a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-bats-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@capacitor-firebase/authentication': patch
---

fix(web): `authStateChange` listener fires too early
1 change: 1 addition & 0 deletions packages/authentication/src/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ export class FirebaseAuthenticationWeb
this.notifyListeners(
FirebaseAuthenticationWeb.AUTH_STATE_CHANGE_EVENT,
change,
true,
);
}

Expand Down

0 comments on commit b91b3a4

Please sign in to comment.