Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

How to install a Software Development Kit?

What is a Software Development Kit?

Software Development Kit (SDK) is a collection of software development tools in one installable package. They facilitate the creation of applications by having a compiler, debugger, and sometimes a software framework. They are usually specific to a hardware platform and operating system combination.

How to install SDK?

Android Setup

To start tracking metrics for your Android app, make sure you first integrate the Zoho PageSense Android SDK to all your app pages.

STEP 1: To access the PageSense library, copy-paste the maven repository shown below in the root /build.gradle file.
  1. allprojects {
  2.  repositories {
  3.  maven {
  4.  url 'https://maven.zohodl.com'}
  5.  }
  6. }

Info
“build.gradle file” is a configuration file used by Gradle, a build automation tool. It contains instructions and configurations for building an Android app project.

STEP 2: Copy-paste the following dependency in the app/build.gradle file.
  1. dependencies {
  2.  implementation 'com.zoho.pagesense:pagesense:1.0'
  3. }
STEP 3: To use the PageSense Tracking API, copy-paste the line of code shown below into your onCreate method of application class.
  1. public class CustomApplcation extends Application {
  2.  @Override
  3.  public void onCreate() {
  4.  super.onCreate();
  5.  PageSense.init(this, "ql9o3kdm:84559b6c32ee48dd8728477ffed549a3:17:US");
  6.  }
  7. }

Notes
In an Android project, there are typically two build.gradle files:
Project-level build.gradle: Located in the root directory of the project, this file defines build configurations that are applied to all modules in the project.
Module-level build.gradle: Located in each module's directory (usually the app directory), this file defines build configurations for the specific module.

Further, by editing the build.gradle files, you can customize your app's build process to suit your needs. This can include adding new dependencies, configuring build types, and optimizing your app's size and performance.

iOS Setup

To install and use the PageSense iOS SDK, you have the following options: 

1. Install it with CocoaPods (or)
2. Install it manually by including the SDK source code in your Xcode project

STEP 1: Adding the ZohoPageSenseSDK.xcframework to the app directly - there are two ways to get this done.
You can either download the PageSense SDK from here. And then drag and drop the folder “ZohoPageSenseSDK.xcframework” inside your project.

Or
To install SDK using CocoaPods:
1. To add the PageSense SDK to your pod file, run the bellow command in your terminal as shown below:
pod "'PageSenseSDK'"
2. After you have updated your pod file, run 'pod install' in your terminal to download the SDK automatically.
3. Navigate to the Info.plist file from your project navigator.
4. Create a key called ZPS_APP_ID with a type string.
5.  Insert the App ID value from PageSense.
Info
Inside Mobile, under Apps, copy your App ID from the respective app for which you are enabling mobile push notifications.

We hope this documentation helps make the process easy for you. Please feel free to reach out to us anytime by dropping an email to support@zohopagesense.com if you need more explanation or have any questions.

Helpful?20
Updated: 13 days ago
Share :
  • Redefine the way you work
    with Zoho Workplace