Skip to content

Commit b40f907

Browse files
fix: Refactor execute method signature
1 parent 3ada269 commit b40f907

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/kotlin/com/mparticle/kits/RoktKit.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class RoktKit : KitIntegration(), CommerceListener, IdentityListener, RoktListen
3838
ctx: Context
3939
): List<ReportingMessage> {
4040
applicationContext = ctx.applicationContext
41-
val roktTagId = settings[ROKT_ACCOUNT_ID]
41+
// val roktTagId = settings[ROKT_ACCOUNT_ID]
42+
val roktTagId = "2754655826098840951"
4243
if (KitUtils.isEmpty(roktTagId)) {
4344
throwOnKitCreateError(NO_ROKT_ACCOUNT_ID)
4445
}
@@ -121,8 +122,8 @@ class RoktKit : KitIntegration(), CommerceListener, IdentityListener, RoktListen
121122
@Suppress("UNCHECKED_CAST", "CAST_NEVER_SUCCEEDS")
122123
override fun execute(
123124
viewName: String,
124-
attributes: Map<String, String>?,
125-
mpRoktEventCallback: MParticle.MpRoktEventCallback,
125+
attributes: Map<String, String>,
126+
mpRoktEventCallback: MParticle.MpRoktEventCallback?,
126127
placeHolders: MutableMap<String, WeakReference<RoktEmbeddedView>>?,
127128
fontTypefaces: MutableMap<String, WeakReference<Typeface>>?,
128129
filterUser: FilteredMParticleUser?

0 commit comments

Comments
 (0)