Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Try For Free
  • Docs

›Android

Web

  • Installation
  • CMS Installation
  • Authentication
  • Conversation
  • Conversation Assignment
  • Customization
  • Localization
  • Logout
  • Troubleshooting

Android

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Migration
  • Troubleshooting

iOS

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Troubleshooting

React Native

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Logout

Flutter

  • Installation
  • Authentication
  • Customization
  • Conversation
  • Push Notification
  • Localization
  • Troubleshooting

Ionic/Cordova/Phonegap

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Resolving Errors

Ionic/Capacitor

  • Installation
  • Authentication
  • Push notification
  • Customization

Rich Messages

  • How To Use
  • Types of Rich Messages

Bots

  • Bot setup
  • Dialogflow Integration
  • Lex Integration
  • Kompose Bot Builder
  • IBM Watson Integration
  • Custom Bot Integration
  • Import Kompose Bot
  • Bot Samples

Integrations

  • Zapier
  • WhatsApp
  • WhatsApp 360Dialog
  • WhatsApp Twilio
  • WhatsApp Cloud API

Platform APIs

  • Authentication
  • Endpoints

Dashboard Features

  • Analytics
  • Conversations
  • Users
  • Bot Integration
  • Helpcenter
  • Settings

Configuration

  • Email Fallback
  • Webhooks
  • Access Token URL

Android Troubleshooting

Troubleshooting Guide

This guide will help you in troubleshooting the issues that you may face during the integration.

Duplicate Class Build failure

Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.5.0-runtime (androidx.core:core:1.5.0) and support-compat-27.1.1-runtime (com.android.support:support-compat:27.1.1)

If you get a dublicate class error similar to this one, add the following in your gradle.properties: android.enableJetifier=true

Kommunicate dependency not found

This could be caused by Kommunicate's maven url not getting detected by Android Studio.

repositories { maven { url 'https://kommunicate.jfrog.io/artifactory/kommunicate-android-sdk' } }

If you have used the above code in project level build.gradle, then change your repository mode in settings.gradle to this:

repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)

Push notification troubleshooting

If you are having problem in receiving notifications on your Android device, follow these steps:

  1. In your test device, get the User ID of the user which is logged in to Kommunicate.

  2. Open our Push Notification Test Page and enter your APP_ID and User ID which is logged into the device.

  3. Once you submit, the status of that push notification will show.

StatusDescription
SuccessEverything is configured properly and you should be receiving the notifications in that device.
MisMatchSenderIdThis error comes where there is a mismatch between Firebase server key and your local "google-services.json". Verify that you have shared correct server Key to Kommunicate and download your google-services.json from Firebase again.
Not ValidThis error comes when the “Registration token” is not coming to the Kommunicate server. Make sure your Firebase Messaging setup is correct and that Kommunicate receives token from onNewToken method

How to report issues with logs?

Kommunicate by default logs the data to console, in debug build. Open Android Studio -> Logcat -> search "Kommunicate" to filter out Kommunicate's logs. Once you have the logs, report us the issue along with the logs at support@kommunicate.io

Note: Kommunicate logs are disabled in release build, by default. If you wish to enable it in release build, you can use this code in your project: ALSpecificSettings.getInstance(context).enableLoggingForReleaseBuild(true);

← MigrationInstallation →
  • Troubleshooting Guide
    • Duplicate Class Build failure
    • Kommunicate dependency not found
    • Push notification troubleshooting
    • How to report issues with logs?

Ready to automate more than 80% of your customer support?

Try for Free
  • support@kommunicate.io
  • United States
    (+1) (310) 402-2374
  • India
    (+91) 974-057-0196
  • Docs
    • Web
    • Android
    • iOS
    • Ionic/Phonegap
    • React Native
    • Flutter
  • Product
    • Kompose Chatbot Builder
    • Live Chat
    • Integrations
    • Helpcenter
    • Dialogflow Integration
    • Features
    • Pricing and FAQs
    • Get Demo
  • Resources
    • Chatbots Templates
    • Blog
    • Kommunity
    • Support Metrics
    • Free SaaS Icons
    • ROI Calculator
    • Comparison
  • Company
    • About Us
    • Partner Program
    • Terms of Service
    • Privacy Policy
    • Jobs
    • SLA
    • DPA
  • Support
    • Knowledge Base
    • Docs
    • Stack Overflow
    • API Status
    • Contact Us
Software Advice Frontrunners for Live Chat Mar-22crozdesk badgeCapterra Shortlist for Live Chat Mar-22GetApp Category Leaders for Live Chat Mar-22GDPR compliant - GDPR Copy 12Created with Sketch.COMPLIANTG2 reviews badge
Copyright © 2023 Kommunicate.io