Enable Location Messages

To show location messages Chat SDK needs to use the Google static maps API. You need to generate a new API key:

Google Static Maps API

And add it during Chat SDK configuration or when using quickStart.

        .setGoogleMaps("Your key")

Note: You need to enable billing in your google cloud console or else you will not be able to view map images in your messages, For more information visit the Google usage and billing support page

You can disable location messages using the builder().locationMessagesEnabled(false) option.

Last updated