From 82f4bd79a03fa7eee5e52306e5950fa8003a9dc8 Mon Sep 17 00:00:00 2001 From: Salakar Date: Tue, 25 Sep 2018 16:18:08 +0100 Subject: [PATCH] [auth][js] remove deprecated method `fetchProvidersForEmail` --- src/modules/auth/index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/modules/auth/index.js b/src/modules/auth/index.js index b92e20de..bbbb0f8a 100644 --- a/src/modules/auth/index.js +++ b/src/modules/auth/index.js @@ -502,18 +502,6 @@ export default class Auth extends ModuleBase { return getNativeModule(this).checkActionCode(code); } - /** - * Returns a list of authentication providers that can be used to sign in a given user (identified by its main email address). - * @return {Promise} - * @Deprecated - */ - fetchProvidersForEmail(email: string): Promise { - console.warn( - 'Deprecated firebase.auth().fetchProvidersForEmail in favor of firebase.auth().fetchSignInMethodsForEmail()' - ); - return getNativeModule(this).fetchSignInMethodsForEmail(email); - } - /** * Returns a list of authentication methods that can be used to sign in a given user (identified by its main email address). * @return {Promise}