04- Remote Configuration

You can change the Situm SDK Configuration for both iOS and Android using the Remote Configuration. The Remote Configuration allows you to change the positioning settings of your app at any time and without programmatic changes that requires recompilation.

Configuring the Remote Configuration in Android #

In Wayfinding Android, you can instruct the component to use the Remote Configuration using the parameter useRemoteConfig of LibrarySettings and passing a true value (the default value is false):

LibrarySettings librarySettings = new LibrarySettings();
…
// Tell the component to use the remote config:
librarySettings.setUseRemoteConfig(true);
// Create library:
SitumMapsLibrary library = new SitumMapsLibrary(R.id.maps_library_target, context, librarySettings);
…
// Load:
library.load();

Everytime the user starts positioning, the underlying Situm SDK will request location updates using the Remote Configuration.

If you want to override the remote settings programmatically, you can intercept the location request and customize it to fit your needs:

library.addLocationRequestInterceptor(builder -> {
    builder.buildingIdentifier(YOUR_BUILDING_ID);
    …
});

Configuring the Remote Configuration in iOS #

In Wayfinding iOS, you can instruct the component to use the Remote Configuration using the parameter useRemoteConfig of LibrarySettings and passing a true value (the default value is false):

let settings = LibrarySettings.Builder()
                .setCredentials(credentials: credentials)
                .setBuildingId(buildingId: buildingId)
                .setUseRemoteConfig(useRemoteConfig: useRemoteConfig)
                .build()
let library = SitumMapsLibrary(containedBy: self.containerView, controlledBy: self, withSettings: settings)

...

library.load()

Everytime the user starts positioning, the underlying Situm SDK will request location updates using the Remote Configuration.

Suscríbete a nuestro boletín

INFORMACIÓN BÁSICA SOBRE PROTECCIÓN DE DATOS

Responsable del tratamiento: SITUM TECHNOLOGIES, S.L.
Contacto: Responsable del tratamiento: situm@situm.es
Responsable de protección: dpo@situm.es
Finalidad y base legal: Gestionar el envío de newsletter de SITUM sólo con consentimiento.
Legitimación: Consentimiento expreso del interesado.
Destinatarios: Los datos no serán cedidos a terceros salvo obligación legal.
Plazo de conservación: Mientras la parte interesada permanezca suscrita al newsletter (en cada newsletter enviado por Situm estará disponible un link para darse de baja).
Derechos: El interesado podrá revocar en cualquier momento su consentimiento, así como ejercitar los derechos de oposición, acceso, conservación, rectificación, limitación, supresión de datos y no ser objeto de una decisión basada únicamente en el tratamiento automatizado de datos, dirigiéndose por escrito a SITUM en las direcciones indicadas.
Información Adicional: Puede consultar la información adicional y detallada sobre Protección de Datos en nuestra política de privacidad.

Por favor, descarga tu copia aquí.

Muchas gracias por descargar nuestro whitepaper. No dudes en contactar con nosotros si quieres saber más sobre cómo nuestras soluciones pueden ayudar a tu negocio.


Cerrar ventana