Skip to content

feat: add Alexa to PlatformEnum - #50

Merged
BrandonStalnaker merged 1 commit into
mParticle:mainfrom
chrismParticle:feat/alexa-platform
Sep 17, 2026
Merged

BrandonStalnaker merged 1 commit into
mParticle:mainfrom
chrismParticle:feat/alexa-platform

Conversation

@chrismParticle

@chrismParticle chrismParticle commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Consumers need to send data associated with Alexa devices through the Java SDK. The SDK must recognize Alexa as a supported device platform to construct and serialize those events, so ALEXA is required in DeviceInformation.PlatformEnum. This follows the precedent established by the Samsung TV and Smart TV enum additions.

  • add Alexa to DeviceInformation.PlatformEnum using the server contract value alexa
  • add focused enum round-trip and model assignment coverage matching the existing platform test pattern
  • document the addition in the Unreleased changelog

Testing

  • ./gradlew test (8 tests passed)
  • sent a development test event locally and verified that the Alexa platform data appeared correctly in Live Stream

@chrismParticle

Copy link
Copy Markdown
Contributor Author
Screenshot 2026-09-15 at 10 49 30 AM

Test successful

@chrismParticle
chrismParticle marked this pull request as ready for review September 15, 2026 17:50
@chrismParticle
chrismParticle requested a review from a team as a code owner September 15, 2026 17:50
@cursor

cursor Bot commented Sep 15, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Low risk enum addition with accompanying unit test coverage and no changes to existing logic.

Overview
Adds ALEXA ("alexa") to DeviceInformation.PlatformEnum to allow events to be tagged with Alexa device platforms. Also introduces unit test coverage verifying enum serialization and model assignment.

Reviewed by Cursor Bugbot for commit 72bfee5. Bugbot is set up for automated code reviews on this repo. Configure here.

@samdozor
samdozor self-requested a review September 17, 2026 17:31
@BrandonStalnaker
BrandonStalnaker merged commit f258107 into mParticle:main Sep 17, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

3 participants