Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Try For Free
  • Docs

›Ionic/Cordova/Phonegap

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
  • Campaign Messaging
  • Settings

Configuration

  • Email Fallback
  • Webhooks
  • Access Token URL

Resolving Errors

Android support libraries/google versions conflict

If using multiple plugins that use android support libraries or google/firebase dependencies, you may get support libraries or firebase version conflict issues in android. Use the below script in your app/platform/android/build.gradle file's dependencies(paste the script at the end of all the dependencies) :

dependencies {
  //Here there will be some depencies
  //This is the last dependency 
  
  configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.google.firebase' && requested.name == 'firebase-messaging') {
                details.useVersion '17.1.0'  //use a common firebase version here
            }

            if (requested.group == 'com.google.android.gms' && (requested.name == 'play-services-maps' || requested.name == 'play-services-location')) {
                details.useVersion '15.0.1'  //use a common gms version here
            }

            if (requested.group == 'com.android.support' && requested.name != 'multidex') {
                details.useVersion '27.1.1'  //use a common support libraries version here
            }
        }
    }
}

iOS Swift version issue

Older versions of the plugin may give the build error "Swift version not specified". Open the YourProject.xcworkspace from yourApp/platforms/ios directory in your Xcode and build the project. Then click on the Kommunicate module and specify the SWIFT_VERSION.

Similary for ApplozicSwift module.

kommunicate is not defined

If you get the error related to 'ReferenceError: kommunicate is not defined', then it could be one of the 3 reasons below:

  1. kommunicate varibale has not been defined:

    Make sure you define the varibale in the page where you are calling any function from the plugin.

declare var kommunicate: any;
  1. Kommunicate plugin is not added:

    Please run the below command to check the plugin list in your application. Verify if the plugin kommunicate-cordova-plugin is present in the list.

    ionic cordova plugin ls
    
  2. You are running the app on platforms other than iOS/Android

This plugin is a wrapper around the native iOS and Android platforms. If you are running the plugin on browser, windows etc platforms then it would throw this error. Also do not use the ionic serve command to run/debug the app with kommunicate plugin added.

If you still face this error after verifying these 3 reasons, please contact Kommunicate support.

← LogoutInstallation →
  • Android support libraries/google versions conflict
  • iOS Swift version issue
  • kommunicate is not defined

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