firebase / firebase/codelab-friendlychat-android

Crash when the message doesn't have an imageUrl

Open
#43 2 comments 0 reactions 1 assignee Claimed by @kroikie View on GitHub
Dominant language
Kotlin
Stars
278
Forks
344
Avg merge
3d 5h
Merged PRs (30d)
4

Description

I completed both tutorials for the FriendlyChat (Android/iOS swift), when you add pictures in your swift application, if you are using the same database the android app will crash trying to load the messages because in the swift app "imageUrl" is stored as "imageURL" and "photoUrl" is "photoURL" so the app crashes at

`if (imageUrl.startsWith("gs://")) {` (line 229 I believe)

because imageUrl is actually stored as imageURL.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.