Haptik Docs

Haptik Docs

  • Tools
  • Integrations

›

  • Quick Start
  • Authentication
  • Push Notifications
  • Advanced

    • Required Permissions
    • Theming
    • Conversation
    • Rate & Share
    • Voice Support
    • Location Support
    • Analytics
    • Additional Features
  • Sample App
  • Troubleshooting

Troubleshooting

1. How do I go from Staging Environment to Production Environment? Change details in your info.plist file

  • Set runEnvironment to 0
  • Change the base url to your production url
<key>HaptikLib</key>
<dict>
  <key>clientID</key>
  <string>Insert_ClientId_Here</string>
  <key>baseUrl</key>
  <string>Production_URL_HERE</string>
  <key>runEnvironment</key>
  <string>0</string>
</dict>

Buil Error screenshot

2. Why does Haptik require APNS F8 certificate?

  • To send messages to the user via notifications, Haptik backend requires authentication certificate

3. Why Haptik send notifications?

  • If a user leaves the application while chatting with an IVA, and the IVA responds, Haptik delivers the message sent via notifications.

4. When will Haptik SDK display notifications to the users?

  • Notifications are displayed if the user was chatting with an IVA, but now has done one of the following things

    1. Is in the app but has exited the chat screen
    2. Has put the app in background
    3. Has killed the app

5. App is not receiving notifications from Haptik backend?

  • Please make sure you have provided the valid APNS certificate to Haptik when filling the pre-requisites form
  • Make sure you have followed all the steps here

6. App was receiving notifications in Staging Environment but is not receiving notifications in Prod Environment

  • Please check if APNS server is valid for in your developer account.
  • In this case, please provide respective .p8 certificate to Haptik

7. What is the minimum iOS requirement for Haptik modules ?

Module NameiOS Version
Haptik Lib9
Offline9
Analytics9
Speech10
Location10

8. Haptik SDK gives build error Build Error screenshot

  • This usually happen if you missed to install Git LFS please check integration gide for prerequisites and quickstart guide

9. What if I missed Installing Git LFS and installed SDK?

  • As mentioned in the Haptik Integration Guide Git LFS this is a necessary prerequisite

  • You might need to clear the cache after installing Git LFS and install the pod again to fetch the SDK in the correct file format.

  • Run these commands from your project directory after installing Git LFS

rm -rf ~/Library/Caches/CocoaPods
rm -rf Pods
rm -rf ~/Library/Developer/Xcode/DerivedData/*
pod deintegrate
pod setup
pod install
Last updated on 4/16/2021
← Sample App
Haptik Inc.
Tools
Conversation StudioSmart Agent ChatIntelligent Analytics
Integrations
iOS SDKAndroid SDKWeb SDKWhatsAppFacebookBot API
Others
HSLSLAExternal Agent Chat Tool
Copyright © 2021 Haptik Inc.