android - Unable to see firebase phone authentication despite enabeling it from firebase console and adding the dependencies/ -
i have enabled phone verification in authentication methods tab in firebase console. after linking app console see email verification showing on firebase assistant tab in android studio. missing step? have followed googles documentation same.
below gradle files.
project gradle
// top-level build file can add configuration options common sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.2' classpath 'com.google.gms:google-services:3.0.0' } } allprojects { repositories { jcenter() } } task clean(type: delete) { delete rootproject.builddir }
app gradle
apply plugin: 'com.android.application' android { compilesdkversion 25 buildtoolsversion "25.0.2" defaultconfig { applicationid "com.example.sumeet.kalwardirectorytry1" minsdkversion 21 targetsdkversion 25 versioncode 1 versionname "1.0" testinstrumentationrunner "android.support.test.runner.androidjunitrunner" } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(include: ['*.jar'], dir: 'libs') androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' compile 'com.google.android.gms:play-services-auth:10.0.1' compile 'com.google.firebase:firebase-database:10.0.1' compile 'com.intuit.ssp:ssp-android:1.0.4' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.google.firebase:firebase-auth:10.0.1' compile 'com.google.gms:google-services:3.1.0' compile 'com.google.firebase:firebase-storage:10.0.1' testcompile 'junit:junit:4.12' } apply plugin: 'com.google.gms.google-services'
the phone authentication support @ 11.0.2 lib version change lib version @ gradle need update firebase
used libs same version:
compile 'com.google.firebase:firebase-auth:11.0.2'
Comments
Post a Comment