firebaseui

Why this Angular applications can't handle the user status (logged in\out) changing the displayed content after that the user logged in?

故事扮演 提交于 2021-01-27 16:27:35
问题 I am working on an Angular application using AngularUI (the Angular bundle, this one: https://www.npmjs.com/package/firebaseui-angular) to handle user registration\login on Firebase My application also uses AnularFire 2 and I have the following problem trying to handle the user status (if the user is logged in or logged out). This is my home component TypeScript code: import { Component, NgZone, OnInit } from '@angular/core'; import { AngularFireAuth } from '@angular/fire/auth'; import {

How to avoid that firebaseUI Email Link authentication opens a second browser tab?

匆匆过客 提交于 2021-01-05 13:09:44
问题 When using the Email Link Authentication method with firebaseUI, the emailed hyperlink opens a new browser tab in order to confirm/authenticate the email reception to firebase, and then redirects to the initial URL. This leaves the user with two browser tabs with the same (authenticated) original URL. Is there a way to end up with only one open browser tab? I have tried to configure the firebaseUI EmailAuthProvider with an emailLinkSignIn function returning: { url: '';}, this has no effect.

How to avoid that firebaseUI Email Link authentication opens a second browser tab?

走远了吗. 提交于 2021-01-05 13:00:10
问题 When using the Email Link Authentication method with firebaseUI, the emailed hyperlink opens a new browser tab in order to confirm/authenticate the email reception to firebase, and then redirects to the initial URL. This leaves the user with two browser tabs with the same (authenticated) original URL. Is there a way to end up with only one open browser tab? I have tried to configure the firebaseUI EmailAuthProvider with an emailLinkSignIn function returning: { url: '';}, this has no effect.

Unable to hide the Title bar of Authorization Activity using FirebaseUI

情到浓时终转凉″ 提交于 2020-12-29 06:48:06
问题 I tried to use the following style <style name= "AuthStyle"> <item name="android:windowBackground">@drawable/culture</item> <item name="android:windowActionBar">false</item> <item name="android:windowNoTitle">true</item> </style> and then I applied the above style here: startActivityForResult(AuthUI.getInstance() .createSignInIntentBuilder() .setProviders(AuthUI.EMAIL_PROVIDER, AuthUI.FACEBOOK_PROVIDER, AuthUI.GOOGLE_PROVIDER) .setTheme(R.style.AuthStyle) .build() ,1); However,the title bar

Is there a way to filter data with Firebase UI RecyclerView?

大兔子大兔子 提交于 2020-12-27 06:33:47
问题 I'm using the Firebase UI FirestorePagingAdapter, i have a colletion of posts and i want to filter the post that are not from the current user and order them by timestamp I tried doing this but i get inequality error: override fun getPostFromLocation(viewLifecycleOwner:LifecycleOwner, location:String) :FirestorePagingOptions<Post>{ val query = firestore.collection(POST_COLLECTION) .orderBy("timestamp", Query.Direction.DESCENDING) .whereNotEqualTo("uid",auth.currentUser?.uid) return

Is there a way to filter data with Firebase UI RecyclerView?

余生长醉 提交于 2020-12-27 06:33:07
问题 I'm using the Firebase UI FirestorePagingAdapter, i have a colletion of posts and i want to filter the post that are not from the current user and order them by timestamp I tried doing this but i get inequality error: override fun getPostFromLocation(viewLifecycleOwner:LifecycleOwner, location:String) :FirestorePagingOptions<Post>{ val query = firestore.collection(POST_COLLECTION) .orderBy("timestamp", Query.Direction.DESCENDING) .whereNotEqualTo("uid",auth.currentUser?.uid) return