🤖
Android
  • Chat SDK Android
  • Getting Started
    • Chat SDK Quickstart
    • Add the Chat SDK to a Firebase app
    • Add the Chat SDK to a non-Firebase app
  • Setup
    • Add Chat SDK to your project
    • Firebase Setup
    • Chat SDK Initialization
    • Set the Chat SDK Theme
    • Enable Location Messages
    • Authentication Screen
    • Add Additional Modules
    • Module Configuration
    • Proguard
  • API
    • Overriding Activities and Fragments
    • Events
    • Theming
    • Customizing the Icons
    • Tab Customization
    • Add a Chat Option
    • Message Customization
    • Integrating Chat SDK User profiles with your app
    • Overriding the Push Notification Handler
    • Handling Structured Meta Data
  • Chat SDK v4
    • Development Guide
    • Updating from v4 to v5
Powered by GitBook
On this page

Was this helpful?

  1. Setup

Enable Location Messages

PreviousSet the Chat SDK ThemeNextAuthentication Screen

Last updated 4 years ago

Was this helpful?

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.

ChatSDK.builder()
        .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

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

Google Static Maps API
Google usage and billing support page