firebase - database is unavailable use object construction FIRDatabase swift -


need help! newbie in swift developing , try connect app firebase. when try configure , locate database got error!

"database unavailable use object construction firdatabase"

here code:

let db = firdatabase.database().reference() 

my podfile

pod 'firebase' pod 'firebase/core' pod 'firebase/storage' pod 'firebase/auth' pod 'firebase/database' 

what missing here? need help. thanks

did add in appdelegate application:didfinishlaunchingwithoptions: method?

firebaseapp.configure() 

did add googleservice-info.plist project?

are using xcworkspace project file instead of xcodeproj file open xcode project?

i see references api naming changes (i.e. firdatabase database). make sure that's not causing problem too.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -