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

    • iOS SDK Development

      Zoho CRM's Mobile SDK is a technology that helps developers build mobile applications to interact with their Zoho CRM data. Currently, the mobile app for Zoho CRM acts as a mobile interface to the Zoho CRM's web interface. But in case you need the ...
    • Mobile SDK - Android Development

      Zoho CRM's Mobile SDK is a framework that helps developers build mobile applications to interact with their Zoho CRM data. Currently, the mobile app for Zoho CRM acts as a mobile interface to the Zoho CRM's web interface. But in case you need the ...
    • Installation - Android SDK

      Required App Components 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. npm install -g zohomobilesdk Since this is a command line utility, we ...
    • 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 ...
    • 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 ...