Help Docs

StatusIQ Mobile SDK

With StatusIQ Mobile SDK, you can now use the features of StatusIQ right from your mobile application. Because the Android and iOS SDKs are open source platforms, you can download, integrate, and customize them according to your app. By integrating the StatusIQ SDKs with your product's mobile application, you can share real-time service updates with your customers. You can also customize the background, font, and colors to align with the theme of your application.

Once integrated, you can create an action in the application and then invoke that action to display the service status in your application. This ensures that your customers stay informed about the availability of your services anywhere, anytime.

StatusIQ Android SDK

Follow these steps to integrate the StatusIQ Android SDK into your business application:

  1. Import the StatusIQ Android SDK into your business app by cloning the source code or by including the StatusIQ SDK.aar from https://github.com/site24x7/StatusIQ-Android-SDK.
  2. After importing the SDK, specify the Status_page_url under defaultConfig in your app-level build.gradle.
  3. If you want to display the status of only a specific component, you can add two more values, Show_Component_status_alone and Component_Name, as shown below:

  4. After entering these details, you can rebuild your project and use the StatusIq.openStatusIqActivity() method to display the status screen. The first parameter is the context and the second parameter is the title you wish to display on the action bar.


     

Customize the StatusIQ Android Framework

Follow these steps to customize the user interface for the StatusIQ Framework to suit your application theme:

  1. Use the StatusIq.setTheme() method before using the StatusIq.openStatusIqActivity() method.
  2. You can customize various aspects, like font, text color, and background color, by passing the custom theme.


StatusIQ iOS SDK

Follow these steps to integrate the StatusIQ iOS pod into your business app:

  1. Open your business app in Xcode.
  2. Add the repository source URL and pod name with your respective target to the pod file.
    For instance, pod 'StatusIQ', :source=> https://github.com/site24x7/StatusIQ-iOS-SDK.git
  3. After adding the pod, navigate to the StatusIQInfo.plist file and under Status page url, provide your StatusIQ public page URL that you would like to showcase in the business app. If you wish to list the components you have on your StatusIQ page as your components in the business app, then, in the .plist file, set Show Component status alone to True. Provide the component of your preference in the field Component Name.

  4. Based on the requirements of your business app, you can add the Tap button wherever required to showcase the status.
  5. After adding the Tap button, you can import the StatusIQ Framework and implement the code below into the Tap button code definition.

let statusIQVC = StatusIQServiceStatus.sdkInit()
self.present(statusIQVC, animated: true, completion: nil)

 

Customize the StatusIQ iOS Framework

You can customize the StatusIQ Framework UI/UX to suit your application theme. To customize, open the StatusIQ Framework in Xcode and find the class StatusIQCustomization, which provides methods to change the theme of the StatusIQ Framework.

Color customization

Use the following method to set the desired background color that is already used in your app. The method argument to pass the desired color is the UIColor value:

StatusIQCustomization.setBackgroundColor(bgColor : )

Use the following method to change the background color of the Navigation Bar. The method argument to pass the desired UIColor value is:

StatusIQCustomization.setNavigationBarBackgroundColor(barColor : )

Font customization

Use the following method to set the desired font style that is already used in your app. The method argument to pass the font name is the String type:

StatusIQCustomization.setFontName(fontName : )

Font name = Trebuchet MS
Background color = UIColor.white
Navigation Bar color = UIColor.gray

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!