[auth] update provider constructor errors

This commit is contained in:
Salakar 2017-09-24 16:35:15 +01:00
parent 61d963ad62
commit c8a37f6282
6 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ const providerId = 'password';
export default class EmailAuthProvider {
constructor() {
throw new Error('`new EmailAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new EmailAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {

View File

@ -2,7 +2,7 @@ const providerId = 'facebook';
export default class FacebookAuthProvider {
constructor() {
throw new Error('`new FacebookAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new FacebookAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {

View File

@ -2,7 +2,7 @@ const providerId = 'github';
export default class GithubAuthProvider {
constructor() {
throw new Error('`new GithubAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new GithubAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {

View File

@ -2,7 +2,7 @@ const providerId = 'google';
export default class GoogleAuthProvider {
constructor() {
throw new Error('`new GoogleAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new GoogleAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {

View File

@ -2,7 +2,7 @@ const providerId = 'phone';
export default class PhoneAuthProvider {
constructor() {
throw new Error('`new PhoneAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new PhoneAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {

View File

@ -2,7 +2,7 @@ const providerId = 'twitter';
export default class TwitterAuthProvider {
constructor() {
throw new Error('`new TwitterAuthProvider()` is not supported on react-native-firebase.');
throw new Error('`new TwitterAuthProvider()` is not supported on the native Firebase SDKs.');
}
static get PROVIDER_ID() {