generated from segment-integrations/analytics-kotlin-destination-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Describe the bug
I'm trying to migrate from appboy-segment-android to analytics-kotlin-braze.
Initializing segment analytics with braze destination gets the error as follows:
kotlinx.serialization.MissingFieldException: Field 'brazeDevKey' is required for type with serial name 'com.segment.analytics.kotlin.destinations.braze.BrazeSettings', but it was missing
To Reproduce
Steps to reproduce the behavior:
- Init braze
val brazeConfig = BrazeConfig.Builder()
.setApiKey(...)
.setCustomEndpoint(...)
.setFirebaseCloudMessagingSenderIdKey(...)
...
.build()
Braze.configure(this, brazeConfig)
- Init segment analytics with braze destination
analytics = Analytics("...", context) {
...
}
analytics.add(BrazeDestination(context))
- Run and see the error
Platform (please complete the following information):
- com.appboy:android-sdk-ui:20.0.0
- com.segment.analytics.kotlin.destinations:braze:1.0.1
- Integrations in use: Braze
Metadata
Metadata
Assignees
Labels
No labels