import React, { Component } from 'react';
import RNFirebase from 'react-native-firebase';
const firebase = RNFirebase.initializeApp({
apiKey: 'KEY',
authDomain: 'APPNAME.firebaseapp.com',
databaseURL: 'https://APPNAME-#####.firebaseio.com/',
projectId: 'APPNAME-#####'});
export default firebase;
This is my code (with replacements obviously) I've added the required pods and the GoogleService-Info.plist file also.
I'm getting the error
"Failed to initialize app. FirebaseOptions missing or invalid "appID" property"
Does anyone know why this might be the case?