Installation - iOS SDK

Installation - iOS SDK

Zoho CRM SDK is hosted with NPM (Node Package Manager). After installing NPM and its dependencies, use the following command to install Zoho CRM Mobile SDK.

  1. npm install -g zohomobilesdk

Since this is a command line utility, we request you to install this globally. This may require super user privilege in Linux based systems. However, this will also work if installed locally inside a directory. With this, the SDK expects that the project files are also created in the same directory.

Running this command will install a terminal command zohoios. You can test the command by simply running zohoios in your terminal prompt, which would display the help message of the command. All interfacing to the mobile SDK is done through this command.

Register a Zoho Client

Since Zoho CRM APIs are authenticated with OAuth2 standards, it is necessary to register your app with Zoho.

  1. Visit https://accounts.zoho.com/developerconsole.
  2. Click “Add Client ID”.
  3. Enter the Client Name, Client Domain & Redirect URI 
    Sample Redirect URI : zohoapp://
  4. Select the Client Type as Mobile.
    Your client app is now registered. The Client ID and Client Secret of the newly registered app will be found under Options > Edit in the above mentioned website.
  5. Click Create.

Note

  • You can also change the Client ID, Client Secret, Redirect URL and other settings of a running project by opening AppConfiguration.plist in your project and changing corresponding configuration.
  • In case you face errors with using NPM, try the install command with Sudo.
  • The Redirect URI must be your application’s custom URL Scheme.
    • Related Articles

    • Mobile SDK for Zoho CRM - An Overview

      Mobile software development kits (SDKs) are sets of tools that facilitate the creation of various mobile applications, be it simple ones that can be created in minutes or the complex ones that have a lot more functionalities. An SDK lets businesses ...
    • MobileApps Integration - Mobile SDK

      Ever since the debut of handheld devices, the world has been on the course to exploit the convenience in their pockets to the fullest. People from all walks of life use mobile devices to stay in touch with each other, do business, engage with the ...
    • Installation - Python SDK

      The SDK can be installed for your client application through Pip. Pip is a tool for dependency management in Python. Installing Pip Please refer the document below to install pip https://pip.pypa.io/en/stable/installing/ Installing the SDK Run the ...
    • Installation - PHP SDK

      Install Composer(if not installed) Run this command to install the composer curl -sS  https://getcomposer.org/installer  | php To install composer on mac/ linux machine: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx To install ...
    • Configuration - iOS SDK

      Create a New Project Once your client has been registered, you can start creating your own iOS application. In your command line, move to the directory where you want to create your mobile project and execute the following command. zohoios create ...