firebase-authentication

firebase error W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found

落爺英雄遲暮 提交于 2019-12-05 02:19:39
I tried to build app based on login/signup accounts. I created it's Firebase and enable the authentication through email. I added the google-play-services.json file. I added apply plugin: 'com.google.gms.google-services' compile 'com.google.firebase:firebase-auth:10.0.1' in build.gridle(app) And in the module I added classpath 'com.google.gms:google-services:3.0.0' And this is my code public class splashscr extends Activity implements View.OnClickListener{ TabHost tab ; Button logbtn,signup; EditText email,password,signupemail,signuppassword; private FirebaseAuth firebaseAuth; @Override

Firebase verification email template editing

依然范特西╮ 提交于 2019-12-05 02:07:06
Are there or will be any way to edit the verification email template or put in different languages, not only English. The user experience is horrible for non-english users. Please, could you share the roadmap of this feature. Thanks, Tomás Before sending firebase email you can set the language of a template. You can edit templates in different languages in firebase console (Template in English you can edit the only subject) firebase.auth().languageCode = 'ua'; firebase.auth().currentUser.sendEmailVerification() 来源: https://stackoverflow.com/questions/41877662/firebase-verification-email

FCM Token Issue in some android device

一曲冷凌霜 提交于 2019-12-05 02:06:50
FCM Expert Please Help me out,I have to integrate notification for the android using FCM, I am trying the demo given by Firebase, I tried many logic but it's giving first token for the some devices: I used three device, Moto E (2nd Gen)(android version 5.1.1), Samsung GT-S7562(A.V 4.1.2) and Karbon Titanium (A.V 4.2.2), I am receiving the token only for Karbon Titanium ,don't know why I am not receiving the token for Moto E(2 Gen)and Samsung GT-S7562 but receiving the token from karbon Titanium device : Here is the code I tried : Logcat Moto E2 : 07-07 15:58:08.776 24152-24152/? I/art: Late

FirebaseUI Auth - Facebook Login error : Unsuccessful debug_token response from Facebook

天大地大妈咪最大 提交于 2019-12-05 02:02:15
I'm trying to integrate FirebaseUI Auth library. Google sign-in and Email sign-in are working fine but I have a problem setting up Facebook Login. This is my code: user = firebaseAuth.getCurrentUser(); if (user != null) { startMainActivity(); finish(); } else { startActivityForResult( AuthUI.getInstance() .createSignInIntentBuilder() .setIsSmartLockEnabled(!BuildConfig.DEBUG) .setProviders(Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.GOOGLE_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.FACEBOOK_PROVIDER).build()))

Firebase Auth using phone number and password

你。 提交于 2019-12-05 01:56:52
问题 I am developing Android app using Firebase. Because of that, I want to use Firebase Auth. I have following requirements: Register/Log in using Facebook Register/Log in using Email/Password Register/Log in using Phone Number/Password The first two are OK, I followed basic tutorials. However, Phone Number / Password is the problem here. Firebase supports only Phone Number/SMS Token for this (its called Phone Auth), but there is no mention about my case. I do not want to hack Firebase and use

onAuthStateChanged inconsistent

╄→гoц情女王★ 提交于 2019-12-05 01:21:37
When a user comes to my site, I use onAuthStateChanged to determine if the user is already signed-in from a previous session or not. Main issue is that it has been inconsistent for a small % of users - code seems to not be detecting that they do have a valid signed-in session going on. The following code is on the app itself, users are on that page after a redirect from the homepage or login page. The homepage of the site also uses onAuthStateChanged to determine if the user should be redirected to the app directly. The login page uses signInWithEmailAndPassword and when the log in is

Firebase Android Auth object no callbacks firing

房东的猫 提交于 2019-12-05 01:03:26
I've been going through the Firebase docs to set up a user authentication system in my android app. For some reason however, it doesn't look like any of the callbacks are running on my FirebaseAuth object! For example with setting up the Facebook authentication as instructed here private void handleFacebookAccessToken(AccessToken token) { Log.d("AUTH", "handleFacebookAccessToken:" + token.getToken()); // ... AuthCredential credential = FacebookAuthProvider.getCredential(token.getToken()); Log.d("AUTH", "Credential: "+credential); mAuth.signInWithCredential(credential) .addOnCompleteListener

User Presence and Authentication

不羁岁月 提交于 2019-12-05 01:02:18
问题 I am using this code to detect user presence in my Android app in the background using a service: final FirebaseAuth mAuth = FirebaseAuth.getInstance(); final FirebaseDatabase database = FirebaseDatabase.getInstance(); final DatabaseReference myConnectionsRef = database.getReference("connected-users").child(mAuth.getCurrentUser().getUid()); final DatabaseReference lastOnlineRef = database.getReference("/registered-users/").child(mAuth.getCurrentUser().getUid()).child("/lastOnline"); final

Android Firebase phone authentication INVALID_APP_CREDENTIAL:App validation failed

半世苍凉 提交于 2019-12-05 00:59:42
I am really new to android firebase and I have implemented the necessary libraries for Firebase Auth. I try putting a valid number, but the log says its: W/JEJE: onVerificationFailed com.google.firebase.FirebaseException: An internal error has occurred. [ INVALID_APP_CREDENTIAL:App validation failed ] at com.google.android.gms.internal.nf.zzK(Unknown Source) at com.google.android.gms.internal.og.zza(Unknown Source) at com.google.android.gms.internal.oh.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os

Local module descriptor class for com.google.firebase.auth not found

放肆的年华 提交于 2019-12-05 00:56:46
问题 I tried firebase authentication to create an user. While creating an user i am getting the following error stack. > 07-27 07:37:26.385 30248-30261/com.belleza.mewChat W/DynamiteModule: > Local module descriptor class for com.google.firebase.auth not found. > 07-27 07:37:26.385 30248-30261/com.belleza.mewChat W/DynamiteModule: > Local module descriptor class for com.google.firebase.auth not found. > 07-27 07:37:27.140 30248-30248/com.belleza.mewChat D/Login: > createUser:onComplete:false 07-27