Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Go to Haptik Website
  • Contact Us
  • Home
  • Deployment
  • iOS SDK

Enabling iOS SDK and Setting Up Related Credentials

Written by Soham Amburle

Updated on June 1st, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Build Deploy Analyse Manage Account Bot Deactivation
  • Bot Building
    Essentials Smart Skills Steps User Messages Bot Responses Entities Connections Customisations User feedback collection Testing Whatsapp Bots NLU Bot Maintenance
  • Smart Agent Chat
    Set up Admin Settings MyChats Section (Agent Inbox) Live Traffic Section Teams Section Archives Section Analytics Plans on Smart Agent Chat
  • Conversation Design
    Design Basics Design Guides Designing for Platforms Designing WhatsApp Bots
  • Developer Guides
    Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
  • Deployment
    Web SDK WhatsApp Facebook Instagram Sunshine Conversation LINE Google Business Messages Telegram MS Teams Bot as an API iOS SDK Android SDK
  • External Agent Tool Setup
    Zendesk Chat Salesforce Service Cloud Freshchat Zoho NICE CXOne Gorgias
  • Analytics & Reporting
    Intelligent Analytics
  • Notifications
    SMS Notifications Success Measurement
  • Commerce Plus
    Catalog Integration Bot Building Guide Channel Deployments Unified ML Pipeline Documentation
  • Troubleshooting Guides
    Error Messages FAQs
  • Release Notes
+ More

Table of Contents

Enabling iOS SDK Platform Setup Credentials Permissions

Enabling iOS SDK Platform

  1. Go to Business Manager > Channels > Platform Deployments and choose iOS SDK from Platform drop-down.
  2. One can also set up webhooks by providing the Webhook URL and enabling the Webhook and putting Email IDs below it.
  3. Now, turn on the Active toggle button to enable this platform deployment.

Setup Credentials

The SDK takes in any type of credentials through your info.plist file. You define a Dictionary object in your info.plist file with the name HaptikLib and add all the required credentials there. These credentials are required else the SDK will give an assert.

After registering with Haptik as an account, you'll be given the following credentials:

  • Client ID
  • Base URL (Different for Staging and Production)
  • Business ID

You also have to set the runEnvironment according to the baseURL you are specifying. Set 0 if adding the Production URL else keep it as 1 (Staging). On opening the app's Info.plist in Source Code format you can add the required keys as illustrated below:

<key>HaptikLib</key>
<dict>
<key>baseUrl</key>
<string>insert_base_url</string>
<key>businessID</key>
<string>insert_busines_id</string>
<key>clientID</key>
<string>insert_client_id</string>
<key>runEnvironment</key>
<string>1</string>
</dict>

While releasing the application on the App Store, only the Production URL (provided by Haptik) should be used and the runEnvironment should be 0.

Permissions

HaptikLib requires some basic permissions which almost every application takes to function properly. Make sure to add them else iOS will assert the application when the SDK will try to present the prompt if the respective permission is not granted by the user. Reach out to your Haptik SPOC regarding these permissions.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Initializing SDK for iOS SDK

Platform

  • Conversation Studio
  • Smart Skills
  • Advanced NLU
  • Intelligent Analytics
  • Omnichannel
  • Smart Agent Chat
  • Enterprise Security
  • Integrations

Solutions

  • Conversational Commerce
  • Lead Generation
  • Customer Care
  • WhatsApp
  • Conversational IVR
  • Google Business Messages

Industries

  • Retail/ E-Commerce
  • Financial Services
  • Travel & Hospitality
  • Telecom

Knowledge

  • ROI Calculator
  • Reports & Research
  • Case Studies
  • Webinars
  • ISAT
  • Tech Blog
  • Business Blog
  • Resources
  • Haptik v/s Yellow
  • Haptik v/s Liveperson
  • Haptik v/s IBM Watson
  • Haptik v/s Verloop
  • Conversations on AI

Company

  • Why Haptik
  • About Us
  • Careers
  • News & Media
  • Awards & Recognition
  • Contact Us
  • Partnerships
  • Investor Relations

Subscribe

Sign up to recieve the latest updates

Find us on

  • Twitter-footer
  • Linkedin-footer
  • YT-footer
  • Insta-footer
  • G2-footer
  • Facebook-footer

Knowledge Base Software powered by Helpjuice

Copyright © jio Haptik Technology Limited 2021 | Data Security & Privacy Policy | GDPR

North America | Asia Pacific | Africa | enterprise@haptik.ai

Definition by Author

0
0