Skip to content

Commit 8f8e59e

Browse files
authored
fix: use eventName in logEvent for Android (#254)
1 parent 9801934 commit 8f8e59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/mparticle/react/MParticleModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class MParticleModule(
7373

7474
val event =
7575
MPEvent
76-
.Builder(name, eventType)
76+
.Builder(eventName, eventType)
7777
.customAttributes(attributes)
7878
.build()
7979
MParticle.getInstance()?.logEvent(event)

0 commit comments

Comments
 (0)