Skip to content

feat: add FireTV to PlatformEnum#23

Merged
rmi22186 merged 3 commits intomParticle:mainfrom
chrismParticle:feat/add-fire-tv-to-platform-enum
Mar 17, 2026
Merged

feat: add FireTV to PlatformEnum#23
rmi22186 merged 3 commits intomParticle:mainfrom
chrismParticle:feat/add-fire-tv-to-platform-enum

Conversation

@chrismParticle
Copy link
Contributor

Summary

Adds FIRE_TV("FireTV") as a new enum value to DeviceInformation.PlatformEnum, enabling users of the Java Events SDK to specify Amazon Fire TV as a device platform when sending events to mParticle.

Testing Plan

  • Locally built the SDK and published to Maven local repository
  • Sent a live commerce event with DeviceInformation.PlatformEnum.FIRE_TV set on the batch
  • Received HTTP 202 confirming the event was accepted by mParticle

Reference Issue

The issue is a punctuation bug in the PlatformEnum definition. Look at these two lines:
java
XBOX("xbox");
FIRE_TV("FireTV");
XBOX ends with a semicolon instead of a comma. In a Java enum, the semicolon terminates the list of constants, so FIRE_TV("FireTV"); falls outside the enum constant list and won't compile. It should be:
java
XBOX("xbox"),
FIRE_TV("FireTV");
That one-character fix (; → ,) should get your build passing.
Copy link
Contributor Author

@chrismParticle chrismParticle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is a punctuation bug in the PlatformEnum definition. Look at these two lines:
java
XBOX("xbox");
FIRE_TV("FireTV");
XBOX ends with a semicolon instead of a comma. In a Java enum, the semicolon terminates the list of constants, so FIRE_TV("FireTV"); falls outside the enum constant list and won't compile. It should be:
java
XBOX("xbox"),
FIRE_TV("FireTV");
That one-character fix (; → ,) should get your build passing.

@rmi22186 rmi22186 merged commit cdf80a2 into mParticle:main Mar 17, 2026
4 checks passed
mparticle-automation added a commit that referenced this pull request Mar 17, 2026
## [2.7.0](v2.6.0...v2.7.0) (2026-03-17)

### Features

* add FireTV to PlatformEnum ([#23](#23)) ([cdf80a2](cdf80a2))
@mparticle-automation
Copy link
Contributor

🎉 This PR is included in version 2.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants