Comments (9)
Hey
Sorry, how can I help you with that? I'm not using ionic, so I don't know how it works exactly. You have to eplaxin it more specific.
from firebaseui-angular.
@RaphaelJenni can I give you access to my private repo to try it out?
from firebaseui-angular.
@Ajonp I can give it a try, but I as I said, I haven't worked with ionic yet. So I don't know of how much help I am.
from firebaseui-angular.
@RaphaelJenni I think what is really needed is the success callbacks. https://github.com/firebase/firebaseui-web#available-callbacks
Then we would be good.
from firebaseui-angular.
Well I get that, but why don't you specify the redirect url or do it with the auth observer?
from firebaseui-angular.
Total user error, my fault!
from firebaseui-angular.
@RaphaelJenni I am sorry to hit you up on this issue again, but this works great in a browser and fails to forward on mobile. It won't trigger back to the auth subscriber.
app.component.ts
this.afAuth.authState.subscribe(user => {
if (user && user.uid) {
//Update the details for the user
this.userService.updateUser(user);
this.initPushNotification(user.uid);
//This should only route if a deeplink is not routing
if (this.nav.first() == null || this.nav.first().id == "welcome") {
this.nav.setRoot('MyStuffPage');
}
} else if (this.nav.getActive() && this.nav.getActive().name == "WelcomePage") {
console.log("already on welcomepage");
}
else {
console.log('MyApp->WelcomePage');
this.nav.setRoot('WelcomePage');
}
});
If I force close and reopen the app it then proceeds as expected.
from firebaseui-angular.
Sorry, I really don't know how to help with this problem, as I don't use ionic.
Is there an error thrown?
from firebaseui-angular.
Close it because of inactivity.
from firebaseui-angular.
Related Issues (20)
- Forced Re-authentication HOT 3
- Recaptach iframe not removed when FirebaseUI is removed HOT 3
- Angular 12 compatibility HOT 2
- Compatibility with @angular/fire@^7.0.3 HOT 3
- multi-project authentication HOT 2
- npm install error (dependency conflicts for @angular/common) v6.1.1 HOT 3
- Error when entering localhost as address in providers HOT 3
- Update to support Angular 14 HOT 3
- window.firebaseUiInstance reset without callbacks when using auth emulator
- Update to support Angular 15 HOT 2
- How to get notified when the user clicks one of the signin buttons? HOT 1
- Support for @angular/fire modular library HOT 5
- How to use this wrapper with new Standalone only components? HOT 4
- How to handle Multi-tenancy ? HOT 4
- Integrate project into Angular 16 HOT 2
- How to integrate this using EmailAuthProvider and recaptcha v3?
- Support @angular/fire 16.0.0 & 17.0.0 HOT 4
- Problem setting up the package
- [firebaseui] signInWithRedirect: auth/auth-domain-config-required Error after a while
- Angular 18 compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebaseui-angular.