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:
And add it during Chat SDK configuration or when using quickStart.
1
ChatSDK.builder()
2
.setGoogleMaps("Your key")
Copied!
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 modified 9mo ago
Copy link