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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -