vitaliy-paliy / Messenger

iOS - Real-time messaging app 🎨
Apache License 2.0
618 stars 87 forks source link

App Crash #16

Closed avihsb28 closed 3 years ago

avihsb28 commented 3 years ago

Hi Sir,

I have cloned this app and made the necessary changes (install pods, addition of Google info plist file, creation of database and storage in firebase, mapbox token). When I run it, the app crahses and shows following error message on Appdelegate:

Screenshot 2020-12-05 at 1 36 25 AM

When I go into Exception backtrace thread, it points out to AuthNetworking.Swift (setupUserinfo) function, line 59: Database.database().reference().child("users").child(uid).observeSingleEvent(of: .value) And also in scene delegate line 30: authNetworking.setupUserInfo(uid) { (isActive) in

AJELECTRIC commented 3 years ago

Did you ever figure this out?

zastress commented 3 years ago

Having the same issue. Did someone figure it out?

zastress commented 3 years ago

Solution: create your firebase database and put the details inside the GoogleService-Info file. That will fix the issue.

vitaliy-paliy commented 3 years ago

Check out README on how to configure this app.

CharlieMallia commented 2 years ago

I have a loading instead?