Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error brazeDevKey not found #4

Open
napas-pomelo opened this issue Sep 30, 2022 · 0 comments
Open

Error brazeDevKey not found #4

napas-pomelo opened this issue Sep 30, 2022 · 0 comments
Assignees

Comments

@napas-pomelo
Copy link

napas-pomelo commented Sep 30, 2022

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:

  1. Init braze
val brazeConfig = BrazeConfig.Builder()
    .setApiKey(...)
    .setCustomEndpoint(...)
    .setFirebaseCloudMessagingSenderIdKey(...)
    ...
     .build()
Braze.configure(this, brazeConfig)
  1. Init segment analytics with braze destination
analytics = Analytics("...", context) {
    ...
}
analytics.add(BrazeDestination(context))
  1. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants