Android SDK Configuration Fields
Example of configuration objects
MindboxConfiguration.Builder(
applicationContext,
"api.maestra.io",
"Endpoint External ID"
)
.setPreviousDeviceUuid("Previous DeviceUUID")
.setPreviousInstallationId("PreviousInstallationId")
.subscribeCustomerIfCreated("Customer subscription status: TRUE / FALSE")
.build()val configuration = MindboxConfiguration.Builder(
applicationContext,
"api.maestra.io",
"my-awesome-app-endpoint"
)
.subscribeCustomerIfCreated(true)
.build()
Mindbox.init(applicationContext, configuration)Mandatory fields
Maestra’s API Domain
This is the domain used to call Maestra’s API — use api.maestra.io for all project.maestra.io projects.
Endpoint External ID
This is the integration endpoint ID used to call project methods. Your Maestra Forward Deployed Marketer will specify this ID in your Integration Specifications.
subscribeCustomerIfCreated
If you create a customer at SDK initialization, make sure that the mobile push subscription status is specified. This value is set in the configuration used to initialize the SDK.
Additional configuration fields
shouldCreateCustomer
In this field you indicate whether you need to create an empty user profile during library initialization.
Available values: True / False
Default value: True
If you leave True, Maestra will create an empty user profile during library initialization.
If you change to False, no user profile will be created, and you will have to call a special API method to do that.
You should select False if you have a notification prompting users to confirm their subscription status during the app onboarding process. In this prompt you can manually specify which data to add to a new customer profile.
Updated 15 days ago

