diff --git a/README.md b/README.md index 4894b3bf9..c9ed8246f 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ A compatible FirebaseUI client is also available for [iOS](https://github.com/fi 1. [Usage](#usage) 1. [Installation](#installation) + 1. [Upgrading](#upgrading) 1. [Dependencies](#dependencies) 1. [Sample App](#sample-app) 1. [Contributing](#contributing) @@ -57,6 +58,13 @@ required. After the project is synchronized, we're ready to start using Firebase functionality in our app. +## Upgrading + +If you are using an old version of FirebaseUI and upgrading, please see the appropriate +migration guide: + + * [Upgrade from 1.2.0 to 2.0](./docs/upgrade-to-2.0.md) + ## Dependencies ### Compatibility with Firebase / Google Play Services Libraries diff --git a/auth/README.md b/auth/README.md index a47bf60d1..d027ca6cf 100644 --- a/auth/README.md +++ b/auth/README.md @@ -56,17 +56,6 @@ dependencies { } ``` -and add the Fabric repository - -```groovy -allprojects { - repositories { - // ... - maven { url 'https://maven.fabric.io/public' } - } -} -``` - ### Identity provider configuration In order to use either Google, Facebook or Twitter accounts with your app, ensure that @@ -75,6 +64,7 @@ these authentication methods are first configured in the Firebase console. FirebaseUI client-side configuration for Google sign-in is then provided automatically by the [google-services gradle plugin](https://developers.google.com/android/guides/google-services-plugin). + If support for Facebook Login is also required, define the resource string `facebook_application_id` to match the application ID in the [Facebook developer dashboard](https://developers.facebook.com): @@ -102,6 +92,17 @@ Twitter app as reported by the [Twitter application manager](https://apps.twitte In addition, you must enable the "Request email addresses from users" permission in the "Permissions" tab of your Twitter app. +In order to resolve the Twitter SDK, add the following repository to your `build.gradle`: + +```groovy +allprojects { + repositories { + // ... + maven { url 'https://maven.fabric.io/public' } + } +} +``` + ## Using FirebaseUI for Authentication Before invoking the FirebaseUI authentication flow, your app should check @@ -175,6 +176,7 @@ startActivityForResult( .createSignInIntentBuilder() .setAvailableProviders( Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.EMAIL_PROVIDER).build(), + new AuthUI.IdpConfig.Builder(AuthUI.PHONE_VERIFICATION_PROVDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.GOOGLE_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.FACEBOOK_PROVIDER).build(), new AuthUI.IdpConfig.Builder(AuthUI.TWITTER_PROVIDER).build())) @@ -222,6 +224,18 @@ startActivityForResult( RC_SIGN_IN); ``` +If you'd like to keep SmartLock's "hints" but disable the saving/retrieving of credentials, then +you can use the two-argument version of `setIsSmartLockEnabled`: + +```java +startActivityForResult( + AuthUI.getInstance() + .createSignInIntentBuilder() + .setIsSmartLockEnabled(false, true) + .build(), + RC_SIGN_IN); +``` + #### Handling the sign-in response ##### Response codes diff --git a/auth/upgrade-guide.md b/auth/upgrade-guide.md deleted file mode 100644 index 8bfad5542..000000000 --- a/auth/upgrade-guide.md +++ /dev/null @@ -1,5 +0,0 @@ -# Removals - -- `AuthUI#signOut(Activity)` and `AuthUI#delete(Activity)` -> `AuthUI#signOut(AppCompatActivity)` and `AuthUI#delete(AppCompatActivity)` -- `AuthUI.SignInIntentBuilder#setProviders(String...)` -> `AuthUI.SignInIntentBuilder#setProviders(List)` -- `com.firebase.ui.auth.ui.ResultCodes` -> Check for `Activity#RESULT_CANCELLED` and use `IdpResponse#getErrorCode()` diff --git a/docs/compat_reports/firebase-ui-auth/1.2.0_to_2.0.0/compat_report.html b/docs/compat_reports/firebase-ui-auth/1.2.0_to_2.0.0/compat_report.html new file mode 100644 index 000000000..992b7ff05 --- /dev/null +++ b/docs/compat_reports/firebase-ui-auth/1.2.0_to_2.0.0/compat_report.html @@ -0,0 +1,2984 @@ + + + + + + + + +firebase-ui-auth: 1.2.0 to 2.0.0 compatibility report + + + +

API compatibility report for the firebase-ui-auth library between 1.2.0 and 2.0.0 versions

+
+Binary
Compatibility
+Source
Compatibility
+
+
+

Test Info


+ + + + + +
Library Namefirebase-ui-auth
Version #11.2.0
Version #22.0.0
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes379 / 72
Compatibility77.4%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Methods-100
Removed MethodsHigh33
Problems with
Data Types
High8
Medium0
Low2
Problems with
Methods
High3
Medium0
Low0
Other Changes
in Data Types
-6
+ +

Added Methods  100 


+classes.jar, BaseHelper.class
+package com.firebase.ui.auth.ui
+ +BaseHelper.getPhoneAuthProviderInstance ( )  :  PhoneAuthProvider +
+ + +
+classes.jar, Builder.class
+package com.firebase.ui.auth
+ +IdpResponse.Builder.build ( )  :  IdpResponse +
+ + + +IdpResponse.Builder.IdpResponse.Builder ( String providerId, String email ) +
+ + + +IdpResponse.Builder.setPhoneNumber ( String phoneNumber )  :  IdpResponse.Builder +
+ + + +IdpResponse.Builder.setSecret ( String secret )  :  IdpResponse.Builder +
+ + + +IdpResponse.Builder.setToken ( String token )  :  IdpResponse.Builder +
+ + +
+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +CheckEmailFragment.newInstance ( FlowParameters flowParameters, String email ) [static]  :  CheckEmailFragment +
+ + + +CheckEmailFragment.onDonePressed ( )  :  void +
+ + +
+classes.jar, CompletableProgressDialog.class
+package com.firebase.ui.auth.ui.phone
+ +CompletableProgressDialog.CompletableProgressDialog ( Context context ) +
+ + + +CompletableProgressDialog.CompletableProgressDialog ( Context context, int theme ) +
+ + + +CompletableProgressDialog.complete ( String msg )  :  void +
+ + + +CompletableProgressDialog.onCreate ( Bundle savedInstanceState )  :  void +
+ + + +CompletableProgressDialog.setMessage ( CharSequence message )  :  void +
+ + + +CompletableProgressDialog.show ( )  :  void +
+ + +
+classes.jar, CountryListSpinner.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListSpinner.CountryListSpinner ( Context context ) +
+ + + +CountryListSpinner.CountryListSpinner ( Context context, AttributeSet attrs ) +
+ + + +CountryListSpinner.CountryListSpinner ( Context context, AttributeSet attrs, int defStyle ) +
+ + + +CountryListSpinner.hideKeyboard ( Context context, View view ) [static]  :  void +
+ + + +CountryListSpinner.onClick ( View view )  :  void +
+ + + +CountryListSpinner.onDetachedFromWindow ( )  :  void +
+ + + +CountryListSpinner.onLoadComplete ( List<CountryInfo> result )  :  void +
+ + + +CountryListSpinner.setOnClickListener ( View.OnClickListener l )  :  void +
+ + + +CountryListSpinner.setSelectedForCountry ( Locale locale, String countryCode )  :  void +
+ + +
+classes.jar, DialogPopup.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListSpinner.DialogPopup.dismiss ( )  :  void +
+ + + +CountryListSpinner.DialogPopup.isShowing ( )  :  boolean +
+ + + +CountryListSpinner.DialogPopup.onClick ( DialogInterface dialog, int which )  :  void +
+ + + +CountryListSpinner.DialogPopup.show ( int selected )  :  void +
+ + +
+classes.jar, DonePressedListener.class
+package com.firebase.ui.auth.ui
+ +ImeHelper.DonePressedListener.onDonePressed ( ) [abstract]  :  void +
+ + +
+classes.jar, EmailProvider.class
+package com.firebase.ui.auth.provider
+ +EmailProvider.EmailProvider ( Activity activity, BaseHelper helper ) +
+ + + +EmailProvider.getButtonLayout ( )  :  int +
+ + + +EmailProvider.getName ( Context context )  :  String +
+ + + +EmailProvider.getProviderId ( )  :  String +
+ + + +EmailProvider.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +EmailProvider.startLogin ( Activity activity )  :  void +
+ + +
+classes.jar, FacebookProvider.class
+package com.firebase.ui.auth.provider
+ +FacebookProvider.FacebookProvider ( AuthUI.IdpConfig idpConfig, int theme ) +
+ + + +FacebookProvider.getButtonLayout ( )  :  int +
+ + +
+classes.jar, FlowParameters.class
+package com.firebase.ui.auth.ui
+ +FlowParameters.FlowParameters ( String appName, List<AuthUI.IdpConfig> providerInfo, int themeId, int logoId, String termsOfServiceUrl, String privacyPolicyUrl, boolean enableCredentials, boolean enableHints, boolean allowNewEmailAccounts ) +
+ + +
+classes.jar, GoogleProvider.class
+package com.firebase.ui.auth.provider
+ +GoogleProvider.getButtonLayout ( )  :  int +
+ + +
+classes.jar, IdpConfig.class
+package com.firebase.ui.auth
+ +AuthUI.IdpConfig.equals ( Object o )  :  boolean +
+ + + +AuthUI.IdpConfig.hashCode ( )  :  int +
+ + + +AuthUI.IdpConfig.toString ( )  :  String +
+ + +
+classes.jar, IdpResponse.class
+package com.firebase.ui.auth
+ +IdpResponse.getPhoneNumber ( )  :  String +
+ + + +IdpResponse.toIntent ( )  :  Intent +
+ + +
+classes.jar, ImeHelper.class
+package com.firebase.ui.auth.ui
+ +ImeHelper.ImeHelper ( ) +
+ + + +ImeHelper.setImeOnDoneListener ( EditText doneEditText, ImeHelper.DonePressedListener listener ) [static]  :  void +
+ + +
+classes.jar, Listener.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListLoadTask.Listener.onLoadComplete ( List<CountryInfo> p1 ) [abstract]  :  void +
+ + +
+classes.jar, PhoneProvider.class
+package com.firebase.ui.auth.provider
+ +PhoneProvider.getButtonLayout ( )  :  int +
+ + + +PhoneProvider.getName ( Context context )  :  String +
+ + + +PhoneProvider.getProviderId ( )  :  String +
+ + + +PhoneProvider.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +PhoneProvider.PhoneProvider ( Activity activity, BaseHelper helper ) +
+ + + +PhoneProvider.startLogin ( Activity activity )  :  void +
+ + +
+classes.jar, PhoneVerificationActivity.class
+package com.firebase.ui.auth.ui.phone
+ +PhoneVerificationActivity.createIntent ( Context context, FlowParameters flowParams, String phone ) [static]  :  Intent +
+ + + +PhoneVerificationActivity.getAlertDialog ( )  :  AlertDialog +
+ + + +PhoneVerificationActivity.onBackPressed ( )  :  void +
+ + + +PhoneVerificationActivity.onCreate ( Bundle savedInstance )  :  void +
+ + + +PhoneVerificationActivity.onDestroy ( )  :  void +
+ + + +PhoneVerificationActivity.onSaveInstanceState ( Bundle outState )  :  void +
+ + + +PhoneVerificationActivity.onStart ( )  :  void +
+ + + +PhoneVerificationActivity.PhoneVerificationActivity ( ) +
+ + + +PhoneVerificationActivity.submitConfirmationCode ( String confirmationCode )  :  void +
+ + +
+classes.jar, PreambleHandler.class
+package com.firebase.ui.auth.ui.email
+ +PreambleHandler.PreambleHandler ( Context context, FlowParameters parameters, int buttonText ) +
+ + + +PreambleHandler.setPreamble ( TextView textView )  :  void +
+ + +
+classes.jar, Provider.class
+package com.firebase.ui.auth.provider
+ +Provider.getButtonLayout ( ) [abstract]  :  int +
+ + + +Provider.getName ( Context p1 ) [abstract]  :  String +
+ + + +Provider.getProviderId ( ) [abstract]  :  String +
+ + + +Provider.onActivityResult ( int p1, int p2, Intent p3 ) [abstract]  :  void +
+ + + +Provider.startLogin ( Activity p1 ) [abstract]  :  void +
+ + +
+classes.jar, ProviderUtils.class
+package com.firebase.ui.auth.provider
+ +ProviderUtils.fetchTopProvider ( FirebaseAuth auth, String email ) [static]  :  Task<String> +
+ + + +ProviderUtils.getAuthCredential ( IdpResponse idpResponse ) [static]  :  AuthCredential +
+ + +
+classes.jar, RegisterEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +RegisterEmailFragment.newInstance ( FlowParameters flowParameters, User user ) [static]  :  RegisterEmailFragment +
+ + + +RegisterEmailFragment.onDonePressed ( )  :  void +
+ + +
+classes.jar, SaveSmartLock.class
+package com.firebase.ui.auth.util.signincontainer
+ +SaveSmartLock.onAttach ( Context context )  :  void +
+ + +
+classes.jar, SmartLockBase.class
+package com.firebase.ui.auth.util.signincontainer
+ +SmartLockBase<R>.finish ( int resultCode, Intent resultIntent )  :  void +
+ + +
+classes.jar, SpacedEditText.class
+package com.firebase.ui.auth.ui.phone
+ +SpacedEditText.getUnspacedText ( )  :  Editable +
+ + + +SpacedEditText.setSelection ( int index )  :  void +
+ + + +SpacedEditText.setText ( CharSequence text, TextView.BufferType type )  :  void +
+ + + +SpacedEditText.SpacedEditText ( Context context ) +
+ + + +SpacedEditText.SpacedEditText ( Context context, AttributeSet attrs ) +
+ + +
+classes.jar, SubmitConfirmationCodeFragment.class
+package com.firebase.ui.auth.ui.phone
+ +SubmitConfirmationCodeFragment.newInstance ( FlowParameters flowParameters, String phoneNumber ) [static]  :  SubmitConfirmationCodeFragment +
+ + + +SubmitConfirmationCodeFragment.onActivityCreated ( Bundle savedInstanceState )  :  void +
+ + + +SubmitConfirmationCodeFragment.onCreateView ( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState )  :  View +
+ + + +SubmitConfirmationCodeFragment.onDestroy ( )  :  void +
+ + + +SubmitConfirmationCodeFragment.onSaveInstanceState ( Bundle outState )  :  void +
+ + + +SubmitConfirmationCodeFragment.onStart ( )  :  void +
+ + + +SubmitConfirmationCodeFragment.SubmitConfirmationCodeFragment ( ) +
+ + +
+classes.jar, TermsTextView.class
+package com.firebase.ui.auth.ui
+ +TermsTextView.showTerms ( FlowParameters params, int buttonText )  :  void +
+ + + +TermsTextView.TermsTextView ( Context context ) +
+ + + +TermsTextView.TermsTextView ( Context context, AttributeSet attrs ) +
+ + + +TermsTextView.TermsTextView ( Context context, AttributeSet attrs, int defStyleAttr ) +
+ + +
+classes.jar, TwitterProvider.class
+package com.firebase.ui.auth.provider
+ +TwitterProvider.getButtonLayout ( )  :  int +
+ + + +TwitterProvider.initialize ( Context context ) [static]  :  void +
+ + + +TwitterProvider.signout ( Context context ) [static]  :  void +
+ + +
+classes.jar, VerifyPhoneNumberFragment.class
+package com.firebase.ui.auth.ui.phone
+ +VerifyPhoneNumberFragment.newInstance ( FlowParameters flowParameters, String phone ) [static]  :  VerifyPhoneNumberFragment +
+ + + +VerifyPhoneNumberFragment.onActivityCreated ( Bundle savedInstanceState )  :  void +
+ + + +VerifyPhoneNumberFragment.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +VerifyPhoneNumberFragment.onClick ( View v )  :  void +
+ + + +VerifyPhoneNumberFragment.onCreateView ( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState )  :  View +
+ + + +VerifyPhoneNumberFragment.VerifyPhoneNumberFragment ( ) +
+ + +
+classes.jar, WelcomeBackPasswordPrompt.class
+package com.firebase.ui.auth.ui.accountlink
+ +WelcomeBackPasswordPrompt.onDonePressed ( )  :  void +
+ + +
+to the top
+

Removed Methods  33 


+classes.jar, AuthCredentialHelper.class
+package com.firebase.ui.auth.provider
+ +AuthCredentialHelper.AuthCredentialHelper ( ) +
+ + + +AuthCredentialHelper.getAuthCredential ( IdpResponse idpResponse ) [static]  :  AuthCredential +
+ + +
+classes.jar, AuthMethodPickerActivity.class
+package com.firebase.ui.auth.ui.idp
+ +AuthMethodPickerActivity.onClick ( View view )  :  void +
+ + +
+classes.jar, AuthUI.class
+package com.firebase.ui.auth
+ +AuthUI.delete ( Activity activity )  :  Task<Void> *DEPRECATED* +
+ + + +AuthUI.signOut ( Activity activity )  :  Task<Void> *DEPRECATED* +
+ + +
+classes.jar, BaseHelper.class
+package com.firebase.ui.auth.ui
+ +BaseHelper.getAppName ( )  :  String +
+ + + +BaseHelper.getFirebaseApp ( )  :  FirebaseApp +
+ + + +BaseHelper.saveCredentialsOrFinish ( SaveSmartLock saveSmartLock, Activity activity, FirebaseUser firebaseUser, IdpResponse response )  :  void +
+ + +
+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +CheckEmailFragment.getInstance ( FlowParameters flowParameters, String email ) [static]  :  CheckEmailFragment +
+ + +
+classes.jar, CredentialsApiHelper.class
+package com.firebase.ui.auth.util
+ +CredentialsApiHelper.delete ( Credential credential )  :  Task<Status> +
+ + + +CredentialsApiHelper.disableAutoSignIn ( )  :  Task<Status> +
+ + + +CredentialsApiHelper.getInstance ( Activity activity ) [static]  :  CredentialsApiHelper +
+ + + +CredentialsApiHelper.getInstance ( GoogleApiClientTaskHelper taskHelper ) [static]  :  CredentialsApiHelper +
+ + +
+classes.jar, CredentialTaskApi.class
+package com.firebase.ui.auth.util
+ +CredentialTaskApi.delete ( Credential p1 ) [abstract]  :  Task<Status> +
+ + + +CredentialTaskApi.disableAutoSignIn ( ) [abstract]  :  Task<Status> +
+ + +
+classes.jar, FacebookProvider.class
+package com.firebase.ui.auth.provider
+ +FacebookProvider.FacebookProvider ( Context context, AuthUI.IdpConfig idpConfig, int theme ) +
+ + +
+classes.jar, FlowParameters.class
+package com.firebase.ui.auth.ui
+ +FlowParameters.FlowParameters ( String appName, List<AuthUI.IdpConfig> providerInfo, int themeId, int logoId, String termsOfServiceUrl, boolean smartLockEnabled, boolean allowNewEmailAccounts ) +
+ + +
+classes.jar, GoogleApiClientTaskHelper.class
+package com.firebase.ui.auth.util
+ +GoogleApiClientTaskHelper.getBuilder ( )  :  GoogleApiClient.Builder +
+ + + +GoogleApiClientTaskHelper.getConnectedGoogleApiClient ( )  :  Task<GoogleApiClient> +
+ + + +GoogleApiClientTaskHelper.getInstance ( Activity activity ) [static]  :  GoogleApiClientTaskHelper +
+ + +
+classes.jar, IdpResponse.class
+package com.firebase.ui.auth
+ +IdpResponse.getIntent ( IdpResponse response ) [static]  :  Intent +
+ + + +IdpResponse.IdpResponse ( String providerId, String email ) +
+ + + +IdpResponse.IdpResponse ( String providerId, String email, String token ) +
+ + + +IdpResponse.IdpResponse ( String providerId, String email, String token, String secret ) +
+ + +
+classes.jar, RegisterEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +RegisterEmailFragment.getInstance ( FlowParameters flowParameters, User user ) [static]  :  RegisterEmailFragment +
+ + +
+classes.jar, ResultCodes.class
+package com.firebase.ui.auth.ui
+ +ResultCodes.ResultCodes ( ) +
+ + +
+classes.jar, SignInIntentBuilder.class
+package com.firebase.ui.auth
+ +AuthUI.SignInIntentBuilder.setIsSmartLockEnabled ( boolean enabled )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setLogo ( int logo )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setProviders ( List<AuthUI.IdpConfig> idpConfigs )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setProviders ( String... providers )  :  AuthUI.SignInIntentBuilder *DEPRECATED* +
+ + + +AuthUI.SignInIntentBuilder.setTheme ( int theme )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setTosUrl ( String tosUrl )  :  AuthUI.SignInIntentBuilder +
+ + +
+classes.jar, SmartLockBase.class
+package com.firebase.ui.auth.util.signincontainer
+ +SmartLockBase<R>.cleanup ( )  :  void +
+ + +
+to the top
+ +

Problems with Data Types, High Severity  8 


+classes.jar
+package com.firebase.ui.auth.provider
+ +[+] class AuthCredentialHelper  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui
+ +[+] class FlowParameters  1  +
+ + + +[+] class ResultCodes  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui.idp
+ +[+] class AuthMethodPickerActivity  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.util
+ +[+] class CredentialsApiHelper  1  +
+ + + +[+] class GoogleApiClientTaskHelper  1  +
+ + + +[+] class GoogleSignInHelper  1  +
+ + + +[+] interface CredentialTaskApi  1  +
+ + +
to the top
+ +

Problems with Methods, High Severity  3 


+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +[+] CheckEmailFragment.checkAccountExists ( String email )  :  void  1  +
+ + + +[+] CheckEmailFragment.validateAndProceed ( )  :  void  1  +
+ + +
classes.jar, SignInIntentBuilder.class
+package com.firebase.ui.auth
+ +[+] AuthUI.SignInIntentBuilder.getFlowParams ( )  :  FlowParameters  1  +
+ + +
to the top
+ +

Problems with Data Types, Low Severity  2 


+classes.jar
+package com.firebase.ui.auth
+ +[+] class AuthUI.SignInIntentBuilder  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.util.signincontainer
+ +[+] class SmartLockBase<R>  1  +
+ + +
to the top
+ +

Other Changes in Data Types  6 


+classes.jar
+package com.firebase.ui.auth
+ +[+] class AuthUI  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.provider
+ +[+] interface IdpProvider  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui
+ +[+] class ExtraConstants  1  +
+ + + +[+] class FlowParameters  3  +
+ + +
to the top
+

Java Archives  1 

+
+classes.jar
+

to the top
+


+

Test Info


+ + + + + +
Library Namefirebase-ui-auth
Version #11.2.0
Version #22.0.0
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes379 / 72
Compatibility77.1%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Methods-100
Removed MethodsHigh33
Problems with
Data Types
High9
Medium0
Low1
Problems with
Methods
High3
Medium0
Low0
Other Changes
in Data Types
-5
+ +

Added Methods  100 


+classes.jar, BaseHelper.class
+package com.firebase.ui.auth.ui
+ +BaseHelper.getPhoneAuthProviderInstance ( )  :  PhoneAuthProvider +
+ + +
+classes.jar, Builder.class
+package com.firebase.ui.auth
+ +IdpResponse.Builder.build ( )  :  IdpResponse +
+ + + +IdpResponse.Builder.IdpResponse.Builder ( String providerId, String email ) +
+ + + +IdpResponse.Builder.setPhoneNumber ( String phoneNumber )  :  IdpResponse.Builder +
+ + + +IdpResponse.Builder.setSecret ( String secret )  :  IdpResponse.Builder +
+ + + +IdpResponse.Builder.setToken ( String token )  :  IdpResponse.Builder +
+ + +
+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +CheckEmailFragment.newInstance ( FlowParameters flowParameters, String email ) [static]  :  CheckEmailFragment +
+ + + +CheckEmailFragment.onDonePressed ( )  :  void +
+ + +
+classes.jar, CompletableProgressDialog.class
+package com.firebase.ui.auth.ui.phone
+ +CompletableProgressDialog.CompletableProgressDialog ( Context context ) +
+ + + +CompletableProgressDialog.CompletableProgressDialog ( Context context, int theme ) +
+ + + +CompletableProgressDialog.complete ( String msg )  :  void +
+ + + +CompletableProgressDialog.onCreate ( Bundle savedInstanceState )  :  void +
+ + + +CompletableProgressDialog.setMessage ( CharSequence message )  :  void +
+ + + +CompletableProgressDialog.show ( )  :  void +
+ + +
+classes.jar, CountryListSpinner.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListSpinner.CountryListSpinner ( Context context ) +
+ + + +CountryListSpinner.CountryListSpinner ( Context context, AttributeSet attrs ) +
+ + + +CountryListSpinner.CountryListSpinner ( Context context, AttributeSet attrs, int defStyle ) +
+ + + +CountryListSpinner.hideKeyboard ( Context context, View view ) [static]  :  void +
+ + + +CountryListSpinner.onClick ( View view )  :  void +
+ + + +CountryListSpinner.onDetachedFromWindow ( )  :  void +
+ + + +CountryListSpinner.onLoadComplete ( List<CountryInfo> result )  :  void +
+ + + +CountryListSpinner.setOnClickListener ( View.OnClickListener l )  :  void +
+ + + +CountryListSpinner.setSelectedForCountry ( Locale locale, String countryCode )  :  void +
+ + +
+classes.jar, DialogPopup.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListSpinner.DialogPopup.dismiss ( )  :  void +
+ + + +CountryListSpinner.DialogPopup.isShowing ( )  :  boolean +
+ + + +CountryListSpinner.DialogPopup.onClick ( DialogInterface dialog, int which )  :  void +
+ + + +CountryListSpinner.DialogPopup.show ( int selected )  :  void +
+ + +
+classes.jar, DonePressedListener.class
+package com.firebase.ui.auth.ui
+ +ImeHelper.DonePressedListener.onDonePressed ( ) [abstract]  :  void +
+ + +
+classes.jar, EmailProvider.class
+package com.firebase.ui.auth.provider
+ +EmailProvider.EmailProvider ( Activity activity, BaseHelper helper ) +
+ + + +EmailProvider.getButtonLayout ( )  :  int +
+ + + +EmailProvider.getName ( Context context )  :  String +
+ + + +EmailProvider.getProviderId ( )  :  String +
+ + + +EmailProvider.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +EmailProvider.startLogin ( Activity activity )  :  void +
+ + +
+classes.jar, FacebookProvider.class
+package com.firebase.ui.auth.provider
+ +FacebookProvider.FacebookProvider ( AuthUI.IdpConfig idpConfig, int theme ) +
+ + + +FacebookProvider.getButtonLayout ( )  :  int +
+ + +
+classes.jar, FlowParameters.class
+package com.firebase.ui.auth.ui
+ +FlowParameters.FlowParameters ( String appName, List<AuthUI.IdpConfig> providerInfo, int themeId, int logoId, String termsOfServiceUrl, String privacyPolicyUrl, boolean enableCredentials, boolean enableHints, boolean allowNewEmailAccounts ) +
+ + +
+classes.jar, GoogleProvider.class
+package com.firebase.ui.auth.provider
+ +GoogleProvider.getButtonLayout ( )  :  int +
+ + +
+classes.jar, IdpConfig.class
+package com.firebase.ui.auth
+ +AuthUI.IdpConfig.equals ( Object o )  :  boolean +
+ + + +AuthUI.IdpConfig.hashCode ( )  :  int +
+ + + +AuthUI.IdpConfig.toString ( )  :  String +
+ + +
+classes.jar, IdpResponse.class
+package com.firebase.ui.auth
+ +IdpResponse.getPhoneNumber ( )  :  String +
+ + + +IdpResponse.toIntent ( )  :  Intent +
+ + +
+classes.jar, ImeHelper.class
+package com.firebase.ui.auth.ui
+ +ImeHelper.ImeHelper ( ) +
+ + + +ImeHelper.setImeOnDoneListener ( EditText doneEditText, ImeHelper.DonePressedListener listener ) [static]  :  void +
+ + +
+classes.jar, Listener.class
+package com.firebase.ui.auth.ui.phone
+ +CountryListLoadTask.Listener.onLoadComplete ( List<CountryInfo> p1 ) [abstract]  :  void +
+ + +
+classes.jar, PhoneProvider.class
+package com.firebase.ui.auth.provider
+ +PhoneProvider.getButtonLayout ( )  :  int +
+ + + +PhoneProvider.getName ( Context context )  :  String +
+ + + +PhoneProvider.getProviderId ( )  :  String +
+ + + +PhoneProvider.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +PhoneProvider.PhoneProvider ( Activity activity, BaseHelper helper ) +
+ + + +PhoneProvider.startLogin ( Activity activity )  :  void +
+ + +
+classes.jar, PhoneVerificationActivity.class
+package com.firebase.ui.auth.ui.phone
+ +PhoneVerificationActivity.createIntent ( Context context, FlowParameters flowParams, String phone ) [static]  :  Intent +
+ + + +PhoneVerificationActivity.getAlertDialog ( )  :  AlertDialog +
+ + + +PhoneVerificationActivity.onBackPressed ( )  :  void +
+ + + +PhoneVerificationActivity.onCreate ( Bundle savedInstance )  :  void +
+ + + +PhoneVerificationActivity.onDestroy ( )  :  void +
+ + + +PhoneVerificationActivity.onSaveInstanceState ( Bundle outState )  :  void +
+ + + +PhoneVerificationActivity.onStart ( )  :  void +
+ + + +PhoneVerificationActivity.PhoneVerificationActivity ( ) +
+ + + +PhoneVerificationActivity.submitConfirmationCode ( String confirmationCode )  :  void +
+ + +
+classes.jar, PreambleHandler.class
+package com.firebase.ui.auth.ui.email
+ +PreambleHandler.PreambleHandler ( Context context, FlowParameters parameters, int buttonText ) +
+ + + +PreambleHandler.setPreamble ( TextView textView )  :  void +
+ + +
+classes.jar, Provider.class
+package com.firebase.ui.auth.provider
+ +Provider.getButtonLayout ( ) [abstract]  :  int +
+ + + +Provider.getName ( Context p1 ) [abstract]  :  String +
+ + + +Provider.getProviderId ( ) [abstract]  :  String +
+ + + +Provider.onActivityResult ( int p1, int p2, Intent p3 ) [abstract]  :  void +
+ + + +Provider.startLogin ( Activity p1 ) [abstract]  :  void +
+ + +
+classes.jar, ProviderUtils.class
+package com.firebase.ui.auth.provider
+ +ProviderUtils.fetchTopProvider ( FirebaseAuth auth, String email ) [static]  :  Task<String> +
+ + + +ProviderUtils.getAuthCredential ( IdpResponse idpResponse ) [static]  :  AuthCredential +
+ + +
+classes.jar, RegisterEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +RegisterEmailFragment.newInstance ( FlowParameters flowParameters, User user ) [static]  :  RegisterEmailFragment +
+ + + +RegisterEmailFragment.onDonePressed ( )  :  void +
+ + +
+classes.jar, SaveSmartLock.class
+package com.firebase.ui.auth.util.signincontainer
+ +SaveSmartLock.onAttach ( Context context )  :  void +
+ + +
+classes.jar, SmartLockBase.class
+package com.firebase.ui.auth.util.signincontainer
+ +SmartLockBase<R>.finish ( int resultCode, Intent resultIntent )  :  void +
+ + +
+classes.jar, SpacedEditText.class
+package com.firebase.ui.auth.ui.phone
+ +SpacedEditText.getUnspacedText ( )  :  Editable +
+ + + +SpacedEditText.setSelection ( int index )  :  void +
+ + + +SpacedEditText.setText ( CharSequence text, TextView.BufferType type )  :  void +
+ + + +SpacedEditText.SpacedEditText ( Context context ) +
+ + + +SpacedEditText.SpacedEditText ( Context context, AttributeSet attrs ) +
+ + +
+classes.jar, SubmitConfirmationCodeFragment.class
+package com.firebase.ui.auth.ui.phone
+ +SubmitConfirmationCodeFragment.newInstance ( FlowParameters flowParameters, String phoneNumber ) [static]  :  SubmitConfirmationCodeFragment +
+ + + +SubmitConfirmationCodeFragment.onActivityCreated ( Bundle savedInstanceState )  :  void +
+ + + +SubmitConfirmationCodeFragment.onCreateView ( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState )  :  View +
+ + + +SubmitConfirmationCodeFragment.onDestroy ( )  :  void +
+ + + +SubmitConfirmationCodeFragment.onSaveInstanceState ( Bundle outState )  :  void +
+ + + +SubmitConfirmationCodeFragment.onStart ( )  :  void +
+ + + +SubmitConfirmationCodeFragment.SubmitConfirmationCodeFragment ( ) +
+ + +
+classes.jar, TermsTextView.class
+package com.firebase.ui.auth.ui
+ +TermsTextView.showTerms ( FlowParameters params, int buttonText )  :  void +
+ + + +TermsTextView.TermsTextView ( Context context ) +
+ + + +TermsTextView.TermsTextView ( Context context, AttributeSet attrs ) +
+ + + +TermsTextView.TermsTextView ( Context context, AttributeSet attrs, int defStyleAttr ) +
+ + +
+classes.jar, TwitterProvider.class
+package com.firebase.ui.auth.provider
+ +TwitterProvider.getButtonLayout ( )  :  int +
+ + + +TwitterProvider.initialize ( Context context ) [static]  :  void +
+ + + +TwitterProvider.signout ( Context context ) [static]  :  void +
+ + +
+classes.jar, VerifyPhoneNumberFragment.class
+package com.firebase.ui.auth.ui.phone
+ +VerifyPhoneNumberFragment.newInstance ( FlowParameters flowParameters, String phone ) [static]  :  VerifyPhoneNumberFragment +
+ + + +VerifyPhoneNumberFragment.onActivityCreated ( Bundle savedInstanceState )  :  void +
+ + + +VerifyPhoneNumberFragment.onActivityResult ( int requestCode, int resultCode, Intent data )  :  void +
+ + + +VerifyPhoneNumberFragment.onClick ( View v )  :  void +
+ + + +VerifyPhoneNumberFragment.onCreateView ( LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState )  :  View +
+ + + +VerifyPhoneNumberFragment.VerifyPhoneNumberFragment ( ) +
+ + +
+classes.jar, WelcomeBackPasswordPrompt.class
+package com.firebase.ui.auth.ui.accountlink
+ +WelcomeBackPasswordPrompt.onDonePressed ( )  :  void +
+ + +
+to the top
+

Removed Methods  33 


+classes.jar, AuthCredentialHelper.class
+package com.firebase.ui.auth.provider
+ +AuthCredentialHelper.AuthCredentialHelper ( ) +
+ + + +AuthCredentialHelper.getAuthCredential ( IdpResponse idpResponse ) [static]  :  AuthCredential +
+ + +
+classes.jar, AuthMethodPickerActivity.class
+package com.firebase.ui.auth.ui.idp
+ +AuthMethodPickerActivity.onClick ( View view )  :  void +
+ + +
+classes.jar, AuthUI.class
+package com.firebase.ui.auth
+ +AuthUI.delete ( Activity activity )  :  Task<Void> *DEPRECATED* +
+ + + +AuthUI.signOut ( Activity activity )  :  Task<Void> *DEPRECATED* +
+ + +
+classes.jar, BaseHelper.class
+package com.firebase.ui.auth.ui
+ +BaseHelper.getAppName ( )  :  String +
+ + + +BaseHelper.getFirebaseApp ( )  :  FirebaseApp +
+ + + +BaseHelper.saveCredentialsOrFinish ( SaveSmartLock saveSmartLock, Activity activity, FirebaseUser firebaseUser, IdpResponse response )  :  void +
+ + +
+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +CheckEmailFragment.getInstance ( FlowParameters flowParameters, String email ) [static]  :  CheckEmailFragment +
+ + +
+classes.jar, CredentialsApiHelper.class
+package com.firebase.ui.auth.util
+ +CredentialsApiHelper.delete ( Credential credential )  :  Task<Status> +
+ + + +CredentialsApiHelper.disableAutoSignIn ( )  :  Task<Status> +
+ + + +CredentialsApiHelper.getInstance ( Activity activity ) [static]  :  CredentialsApiHelper +
+ + + +CredentialsApiHelper.getInstance ( GoogleApiClientTaskHelper taskHelper ) [static]  :  CredentialsApiHelper +
+ + +
+classes.jar, CredentialTaskApi.class
+package com.firebase.ui.auth.util
+ +CredentialTaskApi.delete ( Credential p1 ) [abstract]  :  Task<Status> +
+ + + +CredentialTaskApi.disableAutoSignIn ( ) [abstract]  :  Task<Status> +
+ + +
+classes.jar, FacebookProvider.class
+package com.firebase.ui.auth.provider
+ +FacebookProvider.FacebookProvider ( Context context, AuthUI.IdpConfig idpConfig, int theme ) +
+ + +
+classes.jar, FlowParameters.class
+package com.firebase.ui.auth.ui
+ +FlowParameters.FlowParameters ( String appName, List<AuthUI.IdpConfig> providerInfo, int themeId, int logoId, String termsOfServiceUrl, boolean smartLockEnabled, boolean allowNewEmailAccounts ) +
+ + +
+classes.jar, GoogleApiClientTaskHelper.class
+package com.firebase.ui.auth.util
+ +GoogleApiClientTaskHelper.getBuilder ( )  :  GoogleApiClient.Builder +
+ + + +GoogleApiClientTaskHelper.getConnectedGoogleApiClient ( )  :  Task<GoogleApiClient> +
+ + + +GoogleApiClientTaskHelper.getInstance ( Activity activity ) [static]  :  GoogleApiClientTaskHelper +
+ + +
+classes.jar, IdpResponse.class
+package com.firebase.ui.auth
+ +IdpResponse.getIntent ( IdpResponse response ) [static]  :  Intent +
+ + + +IdpResponse.IdpResponse ( String providerId, String email ) +
+ + + +IdpResponse.IdpResponse ( String providerId, String email, String token ) +
+ + + +IdpResponse.IdpResponse ( String providerId, String email, String token, String secret ) +
+ + +
+classes.jar, RegisterEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +RegisterEmailFragment.getInstance ( FlowParameters flowParameters, User user ) [static]  :  RegisterEmailFragment +
+ + +
+classes.jar, ResultCodes.class
+package com.firebase.ui.auth.ui
+ +ResultCodes.ResultCodes ( ) +
+ + +
+classes.jar, SignInIntentBuilder.class
+package com.firebase.ui.auth
+ +AuthUI.SignInIntentBuilder.setIsSmartLockEnabled ( boolean enabled )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setLogo ( int logo )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setProviders ( List<AuthUI.IdpConfig> idpConfigs )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setProviders ( String... providers )  :  AuthUI.SignInIntentBuilder *DEPRECATED* +
+ + + +AuthUI.SignInIntentBuilder.setTheme ( int theme )  :  AuthUI.SignInIntentBuilder +
+ + + +AuthUI.SignInIntentBuilder.setTosUrl ( String tosUrl )  :  AuthUI.SignInIntentBuilder +
+ + +
+classes.jar, SmartLockBase.class
+package com.firebase.ui.auth.util.signincontainer
+ +SmartLockBase<R>.cleanup ( )  :  void +
+ + +
+to the top
+ +

Problems with Data Types, High Severity  9 


+classes.jar
+package com.firebase.ui.auth.provider
+ +[+] class AuthCredentialHelper  1  +
+ + + +[+] interface IdpProvider  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui
+ +[+] class FlowParameters  1  +
+ + + +[+] class ResultCodes  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui.idp
+ +[+] class AuthMethodPickerActivity  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.util
+ +[+] class CredentialsApiHelper  1  +
+ + + +[+] class GoogleApiClientTaskHelper  1  +
+ + + +[+] class GoogleSignInHelper  1  +
+ + + +[+] interface CredentialTaskApi  1  +
+ + +
to the top
+ +

Problems with Methods, High Severity  3 


+classes.jar, CheckEmailFragment.class
+package com.firebase.ui.auth.ui.email
+ +[+] CheckEmailFragment.checkAccountExists ( String email )  :  void  1  +
+ + + +[+] CheckEmailFragment.validateAndProceed ( )  :  void  1  +
+ + +
classes.jar, SignInIntentBuilder.class
+package com.firebase.ui.auth
+ +[+] AuthUI.SignInIntentBuilder.getFlowParams ( )  :  FlowParameters  1  +
+ + +
to the top
+ +

Problems with Data Types, Low Severity  1 


+classes.jar
+package com.firebase.ui.auth
+ +[+] class AuthUI.SignInIntentBuilder  1  +
+ + +
to the top
+ +

Other Changes in Data Types  5 


+classes.jar
+package com.firebase.ui.auth
+ +[+] class AuthUI  1  +
+ + +
classes.jar
+package com.firebase.ui.auth.ui
+ +[+] class ExtraConstants  1  +
+ + + +[+] class FlowParameters  3  +
+ + +
to the top
+

Java Archives  1 

+
+classes.jar
+

to the top
+




+ \ No newline at end of file diff --git a/docs/compat_reports/firebase-ui-database/1.2.0_to_2.0.0/compat_report.html b/docs/compat_reports/firebase-ui-database/1.2.0_to_2.0.0/compat_report.html new file mode 100644 index 000000000..9ec938352 --- /dev/null +++ b/docs/compat_reports/firebase-ui-database/1.2.0_to_2.0.0/compat_report.html @@ -0,0 +1,1496 @@ + + + + + + + + +firebase-ui-database: 1.2.0 to 2.0.0 compatibility report + + + +

API compatibility report for the firebase-ui-database library between 1.2.0 and 2.0.0 versions

+
+Binary
Compatibility
+Source
Compatibility
+
+
+

Test Info


+ + + + + +
Library Namefirebase-ui-database
Version #11.2.0
Version #22.0.0
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes100 / 13
Compatibility70.6%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Methods-66
Removed MethodsHigh8
Problems with
Data Types
High1
Medium0
Low0
Problems with
Methods
High0
Medium0
Low0
Other Changes
in Data Types
-1
+ +

Added Methods  66 


+classes.jar, CachingObservableSnapshotArray.class
+package com.firebase.ui.database
+ +CachingObservableSnapshotArray<T>.clearData ( )  :  void +
+ + + +CachingObservableSnapshotArray<T>.CachingObservableSnapshotArray ( Class<T> tClass )  :  public +
+ + + +CachingObservableSnapshotArray<T>.CachingObservableSnapshotArray ( SnapshotParser<T> parser )  :  public +
+ + + +CachingObservableSnapshotArray<T>.getObject ( int index )  :  T +
+ + + +CachingObservableSnapshotArray<T>.removeData ( int index )  :  DataSnapshot +
+ + + +CachingObservableSnapshotArray<T>.updateData ( int index, DataSnapshot snapshot )  :  void +
+ + +
+classes.jar, ChangeEventListener.class
+package com.firebase.ui.database
+ +ChangeEventListener.onChildChanged ( ChangeEventListener.EventType p1, DataSnapshot p2, int p3, int p4 ) [abstract]  :  void +
+ + +
+classes.jar, ClassSnapshotParser.class
+package com.firebase.ui.database
+ +ClassSnapshotParser<T>.ClassSnapshotParser ( Class<T> clazz )  :  public +
+ + + +ClassSnapshotParser<T>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+classes.jar, FirebaseArray.class
+package com.firebase.ui.database
+ +FirebaseArray<T>.addChangeEventListener ( ChangeEventListener listener )  :  ChangeEventListener +
+ + + +FirebaseArray<T>.FirebaseArray ( Query query, Class<T> tClass )  :  public +
+ + + +FirebaseArray<T>.FirebaseArray ( Query query, SnapshotParser<T> parser )  :  public +
+ + + +FirebaseArray<T>.equals ( Object obj )  :  boolean +
+ + + +FirebaseArray<T>.getSnapshots ( )  :  List<DataSnapshot> +
+ + + +FirebaseArray<T>.hashCode ( )  :  int +
+ + + +FirebaseArray<T>.onCancelled ( DatabaseError error )  :  void +
+ + + +FirebaseArray<T>.onChildAdded ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildChanged ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildMoved ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildRemoved ( DataSnapshot snapshot )  :  void +
+ + + +FirebaseArray<T>.onDataChange ( DataSnapshot dataSnapshot )  :  void +
+ + + +FirebaseArray<T>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +FirebaseArray<T>.toString ( )  :  String +
+ + +
+classes.jar, FirebaseIndexArray.class
+package com.firebase.ui.database
+ +FirebaseIndexArray<T>.clearData ( )  :  void +
+ + + +FirebaseIndexArray<T>.FirebaseIndexArray ( Query keyQuery, DatabaseReference dataRef, Class<T> tClass )  :  public +
+ + + +FirebaseIndexArray<T>.FirebaseIndexArray ( Query keyQuery, DatabaseReference dataRef, SnapshotParser<T> parser )  :  public +
+ + + +FirebaseIndexArray<T>.equals ( Object obj )  :  boolean +
+ + + +FirebaseIndexArray<T>.getSnapshots ( )  :  List<DataSnapshot> +
+ + + +FirebaseIndexArray<T>.hashCode ( )  :  int +
+ + + +FirebaseIndexArray<T>.onCancelled ( DatabaseError error )  :  void +
+ + + +FirebaseIndexArray<T>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseIndexArray<T>.onDataChanged ( )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyAdded ( DataSnapshot data )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyMoved ( DataSnapshot data, int index, int oldIndex )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyRemoved ( DataSnapshot data, int index )  :  void +
+ + + +FirebaseIndexArray<T>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +FirebaseIndexArray<T>.toString ( )  :  String +
+ + +
+classes.jar, FirebaseIndexListAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, Class<T> modelClass, int modelLayout, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + + +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, SnapshotParser<T> parser, int modelLayout, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + +
+classes.jar, FirebaseIndexRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( Class<T> modelClass, int modelLayout, Class<VH> viewHolderClass, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + + +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( SnapshotParser<T> parser, int modelLayout, Class<VH> viewHolderClass, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + +
+classes.jar, FirebaseListAdapter.class
+package com.firebase.ui.database
+ +FirebaseListAdapter<T>.FirebaseListAdapter ( Activity activity, ObservableSnapshotArray<T> snapshots, int modelLayout )  :  public +
+ + + +FirebaseListAdapter<T>.FirebaseListAdapter ( Activity activity, SnapshotParser<T> parser, int modelLayout, Query query )  :  public +
+ + + +FirebaseListAdapter<T>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseListAdapter<T>.startListening ( )  :  void +
+ + +
+classes.jar, FirebaseRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseRecyclerAdapter<T,VH>.FirebaseRecyclerAdapter ( ObservableSnapshotArray<T> snapshots, int modelLayout, Class<VH> viewHolderClass )  :  public +
+ + + +FirebaseRecyclerAdapter<T,VH>.FirebaseRecyclerAdapter ( SnapshotParser<T> parser, int modelLayout, Class<VH> viewHolderClass, Query query )  :  public +
+ + + +FirebaseRecyclerAdapter<T,VH>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseRecyclerAdapter<T,VH>.startListening ( )  :  void +
+ + +
+classes.jar, ObservableSnapshotArray.class
+package com.firebase.ui.database
+ +ObservableSnapshotArray<E>.addChangeEventListener ( ChangeEventListener listener )  :  ChangeEventListener +
+ + + +ObservableSnapshotArray<E>.ObservableSnapshotArray ( Class<E> clazz )  :  public +
+ + + +ObservableSnapshotArray<E>.ObservableSnapshotArray ( SnapshotParser<E> parser )  :  public +
+ + + +ObservableSnapshotArray<E>.get ( int index )  :  DataSnapshot +
+ + + +ObservableSnapshotArray<E>.get ( int p1 )  :  Object +
+ + + +ObservableSnapshotArray<E>.getObject ( int index )  :  E +
+ + + +ObservableSnapshotArray<E>.getSnapshots ( ) [abstract]  :  List<DataSnapshot> +
+ + + +ObservableSnapshotArray<E>.isListening ( )  :  boolean +
+ + + +ObservableSnapshotArray<E>.isListening ( ChangeEventListener listener )  :  boolean +
+ + + +ObservableSnapshotArray<E>.notifyChangeEventListeners ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyChangeEventListeners ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyListenersOnCancelled ( DatabaseError error )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyListenersOnDataChanged ( )  :  void +
+ + + +ObservableSnapshotArray<E>.removeAllListeners ( )  :  void +
+ + + +ObservableSnapshotArray<E>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +ObservableSnapshotArray<E>.size ( )  :  int +
+ + +
+classes.jar, SnapshotParser.class
+package com.firebase.ui.database
+ +SnapshotParser<T>.parseSnapshot ( DataSnapshot p1 ) [abstract]  :  T +
+ + +
+to the top
+

Removed Methods  8 


+classes.jar, ChangeEventListener.class
+package com.firebase.ui.database
+ +ChangeEventListener.onChildChanged ( ChangeEventListener.EventType p1, int p2, int p3 ) [abstract]  :  void +
+ + +
+classes.jar, FirebaseIndexListAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, Class<T> modelClass, int modelLayout, Query keyRef, Query dataRef )  :  public +
+ + +
+classes.jar, FirebaseIndexRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( Class<T> modelClass, int modelLayout, Class<VH> viewHolderClass, Query keyRef, Query dataRef )  :  public +
+ + +
+classes.jar, FirebaseListAdapter.class
+package com.firebase.ui.database
+ +FirebaseListAdapter<T>.onChildChanged ( ChangeEventListener.EventType type, int index, int oldIndex )  :  void +
+ + + +FirebaseListAdapter<T>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+classes.jar, FirebaseRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseRecyclerAdapter<T,VH>.getItemId ( int position )  :  long +
+ + + +FirebaseRecyclerAdapter<T,VH>.onChildChanged ( ChangeEventListener.EventType type, int index, int oldIndex )  :  void +
+ + + +FirebaseRecyclerAdapter<T,VH>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+to the top
+ +

Problems with Data Types, High Severity  1 


+classes.jar
+package com.firebase.ui.database
+ +[+] interface ChangeEventListener  1  +
+ + +
to the top
+ +

Other Changes in Data Types  1 


+classes.jar
+package com.firebase.ui.database
+ +[+] interface ChangeEventListener  1  +
+ + +
to the top
+

Java Archives  1 

+
+classes.jar
+

to the top
+


+

Test Info


+ + + + + +
Library Namefirebase-ui-database
Version #11.2.0
Version #22.0.0
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes100 / 13
Compatibility70.6%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Methods-66
Removed MethodsHigh8
Problems with
Data Types
High2
Medium0
Low0
Problems with
Methods
High0
Medium0
Low0
+ +

Added Methods  66 


+classes.jar, CachingObservableSnapshotArray.class
+package com.firebase.ui.database
+ +CachingObservableSnapshotArray<T>.clearData ( )  :  void +
+ + + +CachingObservableSnapshotArray<T>.CachingObservableSnapshotArray ( Class<T> tClass )  :  public +
+ + + +CachingObservableSnapshotArray<T>.CachingObservableSnapshotArray ( SnapshotParser<T> parser )  :  public +
+ + + +CachingObservableSnapshotArray<T>.getObject ( int index )  :  T +
+ + + +CachingObservableSnapshotArray<T>.removeData ( int index )  :  DataSnapshot +
+ + + +CachingObservableSnapshotArray<T>.updateData ( int index, DataSnapshot snapshot )  :  void +
+ + +
+classes.jar, ChangeEventListener.class
+package com.firebase.ui.database
+ +ChangeEventListener.onChildChanged ( ChangeEventListener.EventType p1, DataSnapshot p2, int p3, int p4 ) [abstract]  :  void +
+ + +
+classes.jar, ClassSnapshotParser.class
+package com.firebase.ui.database
+ +ClassSnapshotParser<T>.ClassSnapshotParser ( Class<T> clazz )  :  public +
+ + + +ClassSnapshotParser<T>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+classes.jar, FirebaseArray.class
+package com.firebase.ui.database
+ +FirebaseArray<T>.addChangeEventListener ( ChangeEventListener listener )  :  ChangeEventListener +
+ + + +FirebaseArray<T>.FirebaseArray ( Query query, Class<T> tClass )  :  public +
+ + + +FirebaseArray<T>.FirebaseArray ( Query query, SnapshotParser<T> parser )  :  public +
+ + + +FirebaseArray<T>.equals ( Object obj )  :  boolean +
+ + + +FirebaseArray<T>.getSnapshots ( )  :  List<DataSnapshot> +
+ + + +FirebaseArray<T>.hashCode ( )  :  int +
+ + + +FirebaseArray<T>.onCancelled ( DatabaseError error )  :  void +
+ + + +FirebaseArray<T>.onChildAdded ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildChanged ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildMoved ( DataSnapshot snapshot, String previousChildKey )  :  void +
+ + + +FirebaseArray<T>.onChildRemoved ( DataSnapshot snapshot )  :  void +
+ + + +FirebaseArray<T>.onDataChange ( DataSnapshot dataSnapshot )  :  void +
+ + + +FirebaseArray<T>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +FirebaseArray<T>.toString ( )  :  String +
+ + +
+classes.jar, FirebaseIndexArray.class
+package com.firebase.ui.database
+ +FirebaseIndexArray<T>.clearData ( )  :  void +
+ + + +FirebaseIndexArray<T>.FirebaseIndexArray ( Query keyQuery, DatabaseReference dataRef, Class<T> tClass )  :  public +
+ + + +FirebaseIndexArray<T>.FirebaseIndexArray ( Query keyQuery, DatabaseReference dataRef, SnapshotParser<T> parser )  :  public +
+ + + +FirebaseIndexArray<T>.equals ( Object obj )  :  boolean +
+ + + +FirebaseIndexArray<T>.getSnapshots ( )  :  List<DataSnapshot> +
+ + + +FirebaseIndexArray<T>.hashCode ( )  :  int +
+ + + +FirebaseIndexArray<T>.onCancelled ( DatabaseError error )  :  void +
+ + + +FirebaseIndexArray<T>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseIndexArray<T>.onDataChanged ( )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyAdded ( DataSnapshot data )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyMoved ( DataSnapshot data, int index, int oldIndex )  :  void +
+ + + +FirebaseIndexArray<T>.onKeyRemoved ( DataSnapshot data, int index )  :  void +
+ + + +FirebaseIndexArray<T>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +FirebaseIndexArray<T>.toString ( )  :  String +
+ + +
+classes.jar, FirebaseIndexListAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, Class<T> modelClass, int modelLayout, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + + +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, SnapshotParser<T> parser, int modelLayout, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + +
+classes.jar, FirebaseIndexRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( Class<T> modelClass, int modelLayout, Class<VH> viewHolderClass, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + + +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( SnapshotParser<T> parser, int modelLayout, Class<VH> viewHolderClass, Query keyQuery, DatabaseReference dataRef )  :  public +
+ + +
+classes.jar, FirebaseListAdapter.class
+package com.firebase.ui.database
+ +FirebaseListAdapter<T>.FirebaseListAdapter ( Activity activity, ObservableSnapshotArray<T> snapshots, int modelLayout )  :  public +
+ + + +FirebaseListAdapter<T>.FirebaseListAdapter ( Activity activity, SnapshotParser<T> parser, int modelLayout, Query query )  :  public +
+ + + +FirebaseListAdapter<T>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseListAdapter<T>.startListening ( )  :  void +
+ + +
+classes.jar, FirebaseRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseRecyclerAdapter<T,VH>.FirebaseRecyclerAdapter ( ObservableSnapshotArray<T> snapshots, int modelLayout, Class<VH> viewHolderClass )  :  public +
+ + + +FirebaseRecyclerAdapter<T,VH>.FirebaseRecyclerAdapter ( SnapshotParser<T> parser, int modelLayout, Class<VH> viewHolderClass, Query query )  :  public +
+ + + +FirebaseRecyclerAdapter<T,VH>.onChildChanged ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +FirebaseRecyclerAdapter<T,VH>.startListening ( )  :  void +
+ + +
+classes.jar, ObservableSnapshotArray.class
+package com.firebase.ui.database
+ +ObservableSnapshotArray<E>.addChangeEventListener ( ChangeEventListener listener )  :  ChangeEventListener +
+ + + +ObservableSnapshotArray<E>.ObservableSnapshotArray ( Class<E> clazz )  :  public +
+ + + +ObservableSnapshotArray<E>.ObservableSnapshotArray ( SnapshotParser<E> parser )  :  public +
+ + + +ObservableSnapshotArray<E>.get ( int index )  :  DataSnapshot +
+ + + +ObservableSnapshotArray<E>.get ( int p1 )  :  Object +
+ + + +ObservableSnapshotArray<E>.getObject ( int index )  :  E +
+ + + +ObservableSnapshotArray<E>.getSnapshots ( ) [abstract]  :  List<DataSnapshot> +
+ + + +ObservableSnapshotArray<E>.isListening ( )  :  boolean +
+ + + +ObservableSnapshotArray<E>.isListening ( ChangeEventListener listener )  :  boolean +
+ + + +ObservableSnapshotArray<E>.notifyChangeEventListeners ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyChangeEventListeners ( ChangeEventListener.EventType type, DataSnapshot snapshot, int index, int oldIndex )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyListenersOnCancelled ( DatabaseError error )  :  void +
+ + + +ObservableSnapshotArray<E>.notifyListenersOnDataChanged ( )  :  void +
+ + + +ObservableSnapshotArray<E>.removeAllListeners ( )  :  void +
+ + + +ObservableSnapshotArray<E>.removeChangeEventListener ( ChangeEventListener listener )  :  void +
+ + + +ObservableSnapshotArray<E>.size ( )  :  int +
+ + +
+classes.jar, SnapshotParser.class
+package com.firebase.ui.database
+ +SnapshotParser<T>.parseSnapshot ( DataSnapshot p1 ) [abstract]  :  T +
+ + +
+to the top
+

Removed Methods  8 


+classes.jar, ChangeEventListener.class
+package com.firebase.ui.database
+ +ChangeEventListener.onChildChanged ( ChangeEventListener.EventType p1, int p2, int p3 ) [abstract]  :  void +
+ + +
+classes.jar, FirebaseIndexListAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexListAdapter<T>.FirebaseIndexListAdapter ( Activity activity, Class<T> modelClass, int modelLayout, Query keyRef, Query dataRef )  :  public +
+ + +
+classes.jar, FirebaseIndexRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseIndexRecyclerAdapter<T,VH>.FirebaseIndexRecyclerAdapter ( Class<T> modelClass, int modelLayout, Class<VH> viewHolderClass, Query keyRef, Query dataRef )  :  public +
+ + +
+classes.jar, FirebaseListAdapter.class
+package com.firebase.ui.database
+ +FirebaseListAdapter<T>.onChildChanged ( ChangeEventListener.EventType type, int index, int oldIndex )  :  void +
+ + + +FirebaseListAdapter<T>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+classes.jar, FirebaseRecyclerAdapter.class
+package com.firebase.ui.database
+ +FirebaseRecyclerAdapter<T,VH>.getItemId ( int position )  :  long +
+ + + +FirebaseRecyclerAdapter<T,VH>.onChildChanged ( ChangeEventListener.EventType type, int index, int oldIndex )  :  void +
+ + + +FirebaseRecyclerAdapter<T,VH>.parseSnapshot ( DataSnapshot snapshot )  :  T +
+ + +
+to the top
+ +

Problems with Data Types, High Severity  2 


+classes.jar
+package com.firebase.ui.database
+ +[+] interface ChangeEventListener  2  +
+ + +
to the top
+

Java Archives  1 

+
+classes.jar
+

to the top
+




+ \ No newline at end of file diff --git a/docs/compat_reports/firebase-ui-storage/1.2.0_to_2.0.0/compat_report.html b/docs/compat_reports/firebase-ui-storage/1.2.0_to_2.0.0/compat_report.html new file mode 100644 index 000000000..afa978367 --- /dev/null +++ b/docs/compat_reports/firebase-ui-storage/1.2.0_to_2.0.0/compat_report.html @@ -0,0 +1,432 @@ + + + + + + + + +firebase-ui-storage: 1.2.0 to 2.0.0 compatibility report + + + +

API compatibility report for the firebase-ui-storage library between 1.2.0 and 2.0.0 versions

+
+Binary
Compatibility
+Source
Compatibility
+
+
+

Test Info


+ + + + + +
Library Namefirebase-ui-storage
Version #11.2.0
Version #22.0.0
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes4 / 2
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Methods-0
Removed MethodsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Methods
High0
Medium0
Low0
+ +

Java Archives  1 

+
+classes.jar
+

to the top
+


+

Test Info


+ + + + + +
Library Namefirebase-ui-storage
Version #11.2.0
Version #22.0.0
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total JARs1
Total Methods / Classes4 / 2
Compatibility100%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Methods-0
Removed MethodsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Methods
High0
Medium0
Low0
+ +

Java Archives  1 

+
+classes.jar
+

to the top
+




+ \ No newline at end of file diff --git a/docs/upgrade-to-2.0.md b/docs/upgrade-to-2.0.md new file mode 100644 index 000000000..47f2bf5a0 --- /dev/null +++ b/docs/upgrade-to-2.0.md @@ -0,0 +1,46 @@ +# Upgrading to FirebaseUI 2.0 + +This document outlines the _breaking_ changes made between versions 1.2.0 and 2.0.0 as well as +suggested upgrade paths. This is not a comprehensive list of all features or bugfixes, please +reference the release note for that information. + +For a full, machine-generated compatibility report see the `docs/compat_reports` folder. + +## Auth + + * **Facebook and Twitter Dependencies** - FirebaseUI no longer directly depends on the Facebook + or Twitter SDKs. If you plan to enable either of these providers you should include the + appropriate SDK in your app to avoid a crash. This saves space for developers only using + Google/Email/Phone authentication. + * **Sign Out and Delete** - The `AuthUI#delete(Activity)` and `AuthUI#signOut(Activity)` + methods have been removed, please use the versions that accept `FragmentActivity`. + * **Error Codes** - `ResultCodes.RESULT_NO_NETWORK` has been removed. Instead you should use + `IdpResponse.fromResultIntent(data)` to get the response from the `AuthUI` intent and then + check if `IdpResponse#getErrorCode()` is `ErrorCodes.NO_NETWORK`. + * **Choosing Providers** - `setProviders` has been deprecated, please use `setAvailableProviders` + which now respects the order in which you provide them. The varargs version of `setProviders` + has been removed completely. + * **Facebook and Google Scopes** - setting scopes via `string` resources is no longer supported, + please set scopes in code using `IdpConfig`. + * **Themes** - AppCompat theme properties such as `colorPrimary` and `colorAccent` are now used + to style FirebaseUI automatically without any need for customization. Unless your auth UI + needs a different theme than the rest of your app, please remove + `AuthUI.SignInIntentBuilder#setTheme(int)` and its related xml theme from your auth intent + builder and check to make sure that the auth UI has been themed correctly. + * **SmartLock for Passwords** - `setIsSmartLockEnabled` has added a two-argument overload. + There are now separate flags for enabling the hint select and enabling + the saving/retrieving of full credentials from the API. Setting the same value for each flag + will emulate the previous single-flag behavior. + +## Database + + * **Change Events** - the signature of `ChangeEventListener#onChildChanged` has been modified + to include a `DataSnapshot` argument. + * **Snapshot Parsing** - the `parseSnapshot` method of the adapters has been removed. Instead, + you should pass a custom `SnapshotParser` to the adapter constructor. + * **Method Visibility** - the `onDataChanged` method has changed from `protected` to `public`, + which will require a change in your code if you are overriding this method. + +## Storage + + * No breaking changes.