Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

photourl is get nullpointerexception #51

Closed
imsabin opened this issue Jun 14, 2016 · 2 comments
Closed

photourl is get nullpointerexception #51

imsabin opened this issue Jun 14, 2016 · 2 comments
Assignees

Comments

@imsabin
Copy link

imsabin commented Jun 14, 2016

getphotourl is getting nullpointerexception in android.

@XphantasmaX
Copy link

It's not in the tutorial, but turns out that on step #9 you must add and "If" statement in the line where you index the friendlymessage:

if (friendlyMessage.getText() != null) {
      // write this message to the on-device index
      FirebaseAppIndex.getInstance().update(getMessageIndexable(friendlyMessage));
}

@kroikie
Copy link
Contributor

kroikie commented Jul 19, 2017

This issue was moved to firebase/codelab-friendlychat-android#18

@kroikie kroikie closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants