NowSDK architecture

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of NowSDK Architecture

    The NowSDK is a comprehensive framework within the Mobile SDK class that provides various classes, structures, protocols, and functions to enhance interaction with your ServiceNow instance. To utilize its features, integrating the NowSDK library into your code and initializing the SDK is essential.

    Show full answer Show less

    Key Features

    • SDK Initialization: Configure and initialize the SDK to access its functionalities.
    • Authorization and Session Handling: Seamlessly manage user sessions and authorization.
    • Logging Services: Control log messages with adjustable thresholds; integrate your existing logging solutions if desired.
    • NowData: Access public REST APIs and streamline development with authentication features. Key APIs include:
      • NowAPIService: Interact with REST APIs.
      • NowAttachmentService: Manage file attachments.
      • NowGraphQLService: Execute GraphQL queries.
      • NowTableService: Perform CRUD operations on tables.
    • NowAnalytics: Track and analyze user analytics within your mobile applications using the NowAnalyticsService.
    • NowChat: Embed a Virtual Agent chat window in your applications through the NowChatService.
    • NowPush: Send unsolicited messages to your applications with the NowPushService and define protocols with NowPushPayload.
    • NowWeb: Load ServiceNow-hosted web pages in a native view, handling authentication automatically via the NowWebService.

    Key Outcomes

    By leveraging the NowSDK, ServiceNow customers can enhance mobile application functionality, streamline integration with ServiceNow features, and facilitate user interactions through analytics, chat, notifications, and web content management. This results in improved user experiences and operational efficiency within mobile environments.

    The NowSDK is the top-level entity of the Mobile SDK class framework.

    It contains numerous classes, structures, protocols, type aliases, and functions that enable you to leverage the significant capabilities provided by the Mobile SDK and your ServiceNow instance. This document focuses on describing the primary feature services exposed in the Mobile SDK that enable you to interact with your ServiceNow instance.

    To use any of the feature services provided by the Mobile SDK, you must integrate the NowSDK library into your code. You must call the core library to configure and initialize the SDK before using any SDK functionality.

    NowSDK provides the following capabilities:

    • SDK initialization and settings retrieval and configuration.
    • Seamless authorization and user session handling.
    • Logging interface. The NowSDK provides logging services to all feature services. By default, log messages are written to system logs using platform-specific functionality. You can control the logging threshold through a parameter that is part of the call to configure the SDK. There's also an option to suppress all log messages generated by the SDK and its feature services (log level = none). If you already have your own logging solution in place, the Mobile SDK allows you to use it.
    • Build and release infrastructure.
    NowSDK provides the following feature services and associated APIs:
    • NowData

      Enables third party applications to access the public REST APIs exposed by your ServiceNow instance. Development is streamlined because NowData utilizes the authentication and session handling features provided by the NowSDK.

      Primary APIs:
      • NowAPIService: This API provides functionality that enables you to interact with the publicly exposed REST APIs on your ServiceNow instance.
      • NowAttachmentService: This API provides functionality to upload and query file attachments on your ServiceNow instance within your iOS application.
      • NowGraphQLService: This API provides functionality that enables you to use GraphQL queries to obtain data from tables within your ServiceNow instance using the ServiceNow REST GraphQL API.
      • NowTableService: This API provides functionality that enables you to perform create, read, update, and delete (CRUD) operations on existing tables in your ServiceNow instance that are serviced through the ServiceNow REST Table API.
    • NowAnalytics

      Enables you to gather and track usage analytics within your mobile applications.

      Primary API: NowAnalyticsService: This API provides functionality to gather user analytics data and store it within the ServiceNow platform for later analysis and tracking.

    • NowChat

      Enables you to embed a native Virtual Agent chat window in your applications. This service includes UI/UX features.

      Primary API: NowChatService: This API provides Virtual Agent and Live Agent chat capabilities to your iOS applications. Leverage the full-service chat capabilities provided by the ServiceNow platform by simply implementing NowChatService within your application.

    • NowPush

      Now Push: Enables you to send unsolicited messages to your applications.

      Primary APIs:
      • NowPushPayload: This is a generic protocol that you can use to define a push notification protocol within the NowSDK framework.
      • NowPushService: This API provides functions that enable interaction with the Push Notification service.
    • NowWeb

      Enables you to load web pages hosted on your ServiceNow instance in a native web view, with support for Cabrillo. It automatically handles user authentication and session management instead of forcing users to log in to the instance via a login web page.

      Primary API: NowWebService: This API provides functionality that enables the browsing of web pages on your ServiceNow instance.