question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Progress bar doesn't stop and onSuccess doesn't work

See original GitHub issue

<ngx-auth-firebaseui (onSuccess)=“printUser($event)” (onError)=“printError($event)”></ngx-auth-firebaseui>

printError works perfectly but printUser doesnt work and I’ve noticed progress bar after I type user and pass never stop, it seems like some process is never stop to run or something like that.

Im using this theme: https://github.com/akveo/ngx-admin

Bug Report or Feature Request (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request

OS and Version

Windows 7

Versions

@angular-devkit/architect 0.6.0 @angular-devkit/build-angular 0.6.8 @angular-devkit/build-optimizer 0.10.5 @angular-devkit/core 7.0.5 @angular-devkit/schematics 0.6.0 @angular/cdk 7.0.3 @angular/fire 5.1.0 @angular/flex-layout 7.0.0-beta.19 @angular/material 6.4.7 @ngtools/webpack 6.0.8 @schematics/angular 0.6.0 @schematics/update 0.6.0 rxjs 6.1.0 typescript 2.7.2 webpack 4.8.3

Repro steps

go to login page, type user and pass and click on log in

The log given by the failure

no error shown in console

Desired functionality

printUser should show data

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jchavarria1983commented, Nov 13, 2018

Hi @AnthonyNahas I was able to fix the issue, you’re right I needed to set firestorage in my console but now I have a question the default settings are: service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write: if false; } } }

but I didn´t work until I changed “if false” to “if true”. Could you tell me what’s the correct settings please ?

0reactions
AnthonyNahascommented, Nov 14, 2018

In the future work, I will make the synchronization with firestore fully optional and configurable while injecting the main module.

Concerning the rules: I will provide some rules example to match ngx-auth-firebaseui’s requirements.

you can start now with the basic firestore rules. An advanced one will published later:

// Allow read/write access on all documents to any user signed in to the application
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if request.auth.uid != null;
    }
  }
}

feel free to open again the issue if you find any bug or similar cheers 🍺

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I tell the custom onSuccess function to stop the upload ...
I fixed it by using the onChange function instead of the onSuccess function, and adding a conditional if (file.status === 'done').
Read more >
Power Apps Loading Spinners, Saving Spinners and Progress ...
In this article I will show you how to make loading spinners, saving spinners and progress bars in Power Apps.
Read more >
lightning-record-edit-form - Salesforce Developers
Use the lightning-record-edit-form component to create a form that's used to add a Salesforce record or update fields in an existing record on...
Read more >
Progress Bar doesn't appear in Android project ... - Treehouse
To address the problem, I created another project where the progress bar is handled by two button (Start and Stop), so to understand...
Read more >
Define multistep form properties for portals - Power Apps
Multistep form attributes; Progress indicator settings ... multistep forms or to create new multistep forms, open the Portal Management app ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found