Firebaseui-android: [FR] Make dependency on play-services-auth optional

Created on 5 Nov 2020  路  3Comments  路  Source: firebase/FirebaseUI-Android

See #1856 for a similar request.

As of firebase-auth version 20.0.0 (firebase-bom version 26.0.0) there is no longer any Firebase dependency on Play services. However FirebaseUI still depends on play-services-auth for Google Sign In, which does have this dependency.

We need to refactor the library to make the dependency optional at runtime without crashing.

fix-implemented

Most helpful comment

@wangjiejacques well that was easier than I thought! As of version 7.1.0 you should be able to use almost all features on devices without Play services. You just need to make sure you're not using Google Sign In or SmartLock (saving credentials / hint selector) as those have hard dependencies.

All 3 comments

Hi @samtstern , do you have a plan about 7.1.0, will it be available in some days, weeks or months?

@wangjiejacques we don't have any strict timelines here but I'd say "months" is the best estimate.

@wangjiejacques well that was easier than I thought! As of version 7.1.0 you should be able to use almost all features on devices without Play services. You just need to make sure you're not using Google Sign In or SmartLock (saving credentials / hint selector) as those have hard dependencies.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imax531 picture imax531  路  3Comments

joknu1 picture joknu1  路  4Comments

judeebene picture judeebene  路  4Comments

dharan1011 picture dharan1011  路  6Comments

akrmn picture akrmn  路  4Comments