CS340-19 / CampusGroupChat

0 stars 2 forks source link

Message screen crashes when invalid message read #15

Closed spencerhowell closed 5 years ago

spencerhowell commented 5 years ago

Sometimes messages are sent without pictures, user names, or text. This issue must be fixed. In addition, the message screen should load these values in a fault-tolerant way so that the app will not crash when receiving a bad message.

spencerhowell commented 5 years ago

This commit fixes the crashing issue, but GoogleSignInAccount.photoUrl is returning NULL and therefore messages are not sent with the profile pic.

spencerhowell commented 5 years ago

I believe this is an error caused by a change Google made regarding "default avatars" for users. The app now handles these cases where no image is provided.