Services Overview

In Geocortex Mobile, services represent a shared application-wide concern that needs to be accessed by many components or other services. There is only one instance of each service in the application. Interactions with services usually happen through the commands and operations they implement, but services can also be directly injected into other services and components.

Two key differences between components are services are...

  1. Services do not participate in layout, and do not power UI (except indirectly).
  2. Services are created and initialized on startup, before any components are created.
    • This means any service is always available to any component.

An example of a service would be a "SettingsService", which provides global settings that other components can consume.

Services can be optionally consume configuration through app items.

Next Steps

Create a Service

Learn how to create a basic service

Check out the Service Reference

Take a deep dive into services in the Geocortex Mobile SDK