firebaseui

How Can I Add a Background Image for FirebaseUI Login for iOS?

橙三吉。 提交于 2019-12-21 20:23:08
问题 I'd like to be able to place a background image behind the three sign-in buttons (for Google, Facebook, and Email) of the FirebaseUI login screen. FirebaseUI login is a drop-in authentication solution for iOS, Android, and Web. I'm having trouble with iOS. There's a little bit of advice on Github, but not enough. I first initialize my var customAuthPickerViewController : FIRAuthPickerViewController! near the top of the ViewController.swift file. Then, this is the function in my ViewController

Email verification for Firebase Auth UI

放肆的年华 提交于 2019-12-21 09:07:35
问题 I am using firebase auth UI (FirebaseUI-Android) in an android app, where the user can signup with personal email , Facebook , number and Gmail accounts. My question is I need to get email verification when user sign's up with his personal email id. List<AuthUI.IdpConfig> providers = Arrays.asList( new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.PHONE_VERIFICATION_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.FACEBOOK_PROVIDER).build()

How to use firebase with ViewPager and FragmentPagerAdapter?

守給你的承諾、 提交于 2019-12-21 05:04:44
问题 I have a situation when I have large set of data[Approx 1000+] in firebase database and I want to show those data in ViewPager with Fragments. So, like android firebase-ui library has adapter for ListView and RecyclerView which will handle the large data set in proper way. Is there anything like that for adapter of ViewPager? Or any help on how we should handle those large set of data? 来源: https://stackoverflow.com/questions/38022540/how-to-use-firebase-with-viewpager-and-fragmentpageradapter

Firebase UI - facebook,google and email login not working

微笑、不失礼 提交于 2019-12-20 07:55:42
问题 I'm using firebase ui in my app for login. everything works fine when i run it in debug mode - no errors at all. I'm running it through my cellphone and it works fine! My problem starts when i upload my app to play store. When a user try to log in with facebook it tells the user that the hash key does not match to any stored hashes. I checked few times in Facebook Developers and in my Android Studio and its the same hash key. I also have "Developer error" when i try to log in with Google. I

FirebaseRecyclerAdapter() in FirebaseRecyclerAdapter cannot be applied to [wrong arguments]

 ̄綄美尐妖づ 提交于 2019-12-20 05:18:44
问题 Can someone please tell what's the error enter image description here Here is my code package com.andisofttechnology.myapplication.Model; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.v7.app.AppCompatActivity; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view

Error in adding dependency for firebase-ui-auth:2.3.0

心不动则不痛 提交于 2019-12-20 04:13:12
问题 I'm facing this issue since yesterday... I am adding: //Add Library compile 'com.android.support:design:26.1.0' compile 'com.firebaseui:firebase-ui:0.2.0' compile 'com.google.android.gms:play-services-auth:11.2.2' compile 'com.google.firebase:firebase-auth:11.2.2' and the only code left for the app is: compile 'com.firebaseui:firebase-ui-auth:2.3.0' As soon as I'm adding this I'm getting an error: Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute

RecyclerView doesn't load data in first launch using FirebaseRecyclerAdapter

为君一笑 提交于 2019-12-20 03:33:15
问题 I'm using FirebaseRecyclerAdapter to populate a RecyclerView in a Fragment . Here's my code mDatabase = FirebaseDatabase.getInstance().getReference(); myAdapter = new FirebaseRecyclerAdapter<Product, ProductViewHolder>(Product.class, R.layout.product_item,ProductViewHolder.class, mDatabase.child("clothes")) { @Override protected void populateViewHolder(ProductViewHolder viewHolder, Product model, int position) { mProgressBar.setVisibility(ProgressBar.INVISIBLE); viewHolder.name.setText(model

How to use FirebaseUI for Google authentication on iOS in Swift?

情到浓时终转凉″ 提交于 2019-12-20 01:42:13
问题 I'm following https://firebase.google.com/docs/auth/ and want to use FirebaseUI (https://github.com/firebase/FirebaseUI-iOS/tree/master/FirebaseUI) for authentication. The UI shows successfully and I'm able to click "sign in with google" and then complete the web sign in flow. The app re-opens with the auth url, but the authUI function never fires. What's wrong? func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { //

Check for “no documents” state or empty data-set in FirebaseUI's FirebaseRecyclerAdapter

有些话、适合烂在心里 提交于 2019-12-19 11:49:09
问题 I wrote a custom FirebaseRecylerAdapter, based on FirebaseUI documentation like this: class FavoritesAdapter(lifecycleOwner: LifecycleOwner) : FirebaseRecyclerAdapter<Favorite, FavoritesAdapter.FavoritesHolder>(buildOptions(lifecycleOwner)) { companion object { private fun buildQuery() = FirebaseDatabase.getInstance() .reference .child("favorites") .limitToLast(50) private fun buildOptions(lifecycleOwner: LifecycleOwner) = FirebaseRecyclerOptions.Builder<Favorite>() .setQuery(buildQuery(),

FirebaseUI authentication with Facebook not working

可紊 提交于 2019-12-19 05:08:33
问题 I am using FirebaseUI-Authentication . Signing in with an email or a Google account is successful, but sign in with Facebook doesn't work. onActivityResult() is not called after AuthUI activity was started and attempted to sign in with Facebook. After sign in attempt the app is stuck at the loading window. logcat outputs a FirebaseApp log: Notifying background state change listeners. On the Facebook app dashboard I set the Valid OAuth redirect URI , as the firebase guide stated, and I set the