firebaseui

How to merge emailAndPasswordAuth with PhoneAuth in Firebase?

旧城冷巷雨未停 提交于 2020-07-08 13:39:13
问题 I am trying to First SignIn the User using Email and Password , Then after it, I want the user's Phone Number too. So what I did I first Signed the user using his EmailAndPasswordAuth on one Activity(Custom Sign in), and after it, I Signed In the user by his Phone Number on the Next activity. But since it becomes two accounts on the same phone, and I want to merge these google and phone credentials into one account. Then I tried to follow https://firebase.google.com/docs/auth/android/account

Unable to call values from FirebaseDatabase Realtime Using FirebaseUI

末鹿安然 提交于 2020-06-29 04:08:16
问题 Above is just an example of the structure of the folder in FirebaseDatabase. My query is that how am I suppose to get those child node value. Below is my code which I tried: //FirebaseDatabase Collecting all the Item List ValueEventListener listener= new ValueEventListener() { @Override public void onDataChange(@NonNull DataSnapshot dataSnapshot) { if (dataSnapshot.exists()){ for (DataSnapshot ds: dataSnapshot.getChildren()){ arrayItemList.add(ds.getKey()); } firebaseRecyclerViewItem

Want to read data one by one?

谁都会走 提交于 2020-06-09 05:38:14
问题 I am beginner to Android. I want to read all orders one by one and show them in table form. With this code it shows only data of last order. public class plctovst extends AppCompatActivity { RecyclerView recyclermanu; RecyclerView.LayoutManager manager; TableLayout tableLayout; FirebaseRecyclerAdapter<orders, orderViewHolder> adapter; FirebaseDatabase db; DatabaseReference ref; String cnic; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

FireBaseRecyclerAdapter problems.. Why is the setQuery telling that it cannot resolve the method with the reference and class?

一个人想着一个人 提交于 2020-06-01 05:12:06
问题 Here I pasted you both codes for my fragment + the Posts.class does anyone know why this shows me an error ? I am new to this so I really cannot figure it out by myself some help would be great :) FirebaseRecyclerOptions<Posts> option = new FirebaseRecyclerOptions.Builder<Posts>() .setQuery(postsRef, Posts.class).build(); Fragment code package com.LiFit; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view

FirestoreAdapter not working to populate a Recycler View

匆匆过客 提交于 2020-05-24 07:31:31
问题 I'm a rookie with Android and decided to use Cloud Firestore as my db and a RecyclerView for populating a list in my MainActivity. I thought using Firebase-UI for Firestore would be super easy, but I can't figure out why nothing is populating in my RecyclerView. For reference, here is the Firebase UI page and here is the example code that I based my app off of. All I'm trying to do is populate a list of "Courses" (Course.java not displayed below since it's just a simple POJO with name, date,

FirestoreAdapter not working to populate a Recycler View

孤人 提交于 2020-05-24 07:31:09
问题 I'm a rookie with Android and decided to use Cloud Firestore as my db and a RecyclerView for populating a list in my MainActivity. I thought using Firebase-UI for Firestore would be super easy, but I can't figure out why nothing is populating in my RecyclerView. For reference, here is the Firebase UI page and here is the example code that I based my app off of. All I'm trying to do is populate a list of "Courses" (Course.java not displayed below since it's just a simple POJO with name, date,

I am using firebase UI login into my app but when i use Facebook builder it stops the app how to inflate that button..?

[亡魂溺海] 提交于 2020-05-17 06:57:53
问题 i am enclosing the code of the Java file, dependency file and Manifestfile i declared outside private static final int MY_REQUEST_CODE = 123; List<AuthUI.IdpConfig> providers = Arrays.asList( new AuthUI.IdpConfig.PhoneBuilder().build(), new AuthUI.IdpConfig.FacebookBuilder().build(), new AuthUI.IdpConfig.EmailBuilder().build(), new AuthUI.IdpConfig.GoogleBuilder().build(), new AuthUI.IdpConfig.TwitterBuilder().build()); after this i mentioned this Intent intent = AuthUI.getInstance()

Can't get FirestoreRecyclerAdapter to show items

一笑奈何 提交于 2020-05-15 08:27:05
问题 I'm updating my app to use Firebase's Firestore database. I'm struggling to get the app to show the data that's been retrieved from the database. The data is retrieved ok, but doesn't show up. By setting breakpoints, I've established that the ViewHolder isn't being bound to the adapter at any point. The data is being shown in a Fragment. The Fragment layout is (I've taken out irrelevant stuff like padding, sizes etc): <android.support.constraint.ConstraintLayout android:id="@+id/layout_charts

Firebase Storage: Using Download Url Instead of Storage Ref

谁说我不能喝 提交于 2020-05-15 04:59:20
问题 I have an iOS app that uses Firebase Storage for storing images. After an image is uploaded I save its storage reference in my Firebase Database . When the app loads, it fetches various storage references from the database and uses the FirebaseUI method to display their corresponding images like so: let storageRef = Storage.storage().reference(forURL: imageUrl) imageView.sd_setImage(with: storageRef, placeholderImage: nil) This works great... but its very slow. While looking for solutions to

Use FirebaseUI with AngularFire2

时光总嘲笑我的痴心妄想 提交于 2020-05-10 09:05:57
问题 I haven't found any samples. Is it possible to use the FirebaseUI with AngularFire2? AFAIK the UI is not part of AngularFire2. 回答1: There is indeed no direct integration between FirebaseUI (for the web) and AngularFire2. AngularFire2 has built in sign-in primitives that integrate with the lower-level sign-in functionality of the Firebase Authentication JavaScript SDK. For more about those, see the AngularFire2 documentation on user authentication. But given that both AngularFire2 and