Skip to content

onAccountDeleted doesn't get called in the ngx-auth-firebaseui-user component #575

@twixthehero

Description

@twixthehero

Bug Report or Feature Request (mark with an x)

- [x] bug report -> related issue #186 
- [ ] feature request

OS and Version?

Microsoft Windows [Version 10.0.19041.450]

Versions

Angular CLI: 9.1.12
Node: 12.13.0
OS: win32 x64

Angular: 9.1.12
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.901.12
@angular-devkit/build-angular 0.901.12
@angular-devkit/build-optimizer 0.901.12
@angular-devkit/build-webpack 0.901.12
@angular-devkit/core 9.1.12
@angular-devkit/schematics 9.1.12
@angular/cdk 9.2.4
@angular/fire 6.0.2
@angular/flex-layout 9.0.0-beta.31
@angular/material 9.2.4
@ngtools/webpack 9.1.12
@schematics/angular 9.1.12
@schematics/update 0.901.12
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0

Repro steps

<ngx-auth-firebaseui-user (onAccountDeleted)="accountDeleted()"></ngx-auth-firebaseui-user>

The log given by the failure

N/A

Desired functionality

accountDeleted() {
  console.log('account deleted');
}

accountDeleted() is called when onAccountDeleted emits.

Mention any other details that might be useful

related issue #186

I created a minimal reproduction: https://github.com/twixthehero/account-delete-test

  1. git clone [email protected]:twixthehero/account-delete-test
  2. cd account-delete-test && npm install
  3. Configure FirebaseAppConfig in src/app/app.module.ts
  4. Run npm start
  5. Open http://localhost:4200.
  6. Click 'Register' tab, create a new account.
  7. Once logged in, click 'delete account'.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions