Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8697332
feat: move Rokt object creation into rokt kit
denischilik May 12, 2026
6f05c41
feat: move Rokt facade and tests into rokt kit
denischilik May 12, 2026
fdcbfdf
refactor: route Rokt facade calls through resolveRoktKit
denischilik May 12, 2026
a673957
refactor: move Rokt request preprocessing into rokt kit helper
denischilik May 12, 2026
e68f7fd
refactor: route RoktKit attribute preparation through kit helper
denischilik May 12, 2026
baf95a9
refactor: remove roktKitApi from core kit manager contract
denischilik May 12, 2026
460aff0
refactor: remove remaining roktKitApi bridge and tests
denischilik May 12, 2026
69cf7d4
refactor: move rokt contract types into rokt kit module
denischilik May 13, 2026
b551c58
refactor: move RoktEvent type into rokt kit module
denischilik May 13, 2026
c35e4f1
refactor: move MpRoktEventCallback into rokt kit module
denischilik May 13, 2026
81ce582
refactor: use native RoktEvent in rokt kit
denischilik May 13, 2026
6e90db2
refactor: use native unload reasons in rokt callback
denischilik May 13, 2026
f9dfa1a
refactor: use native rokt callback types
denischilik May 13, 2026
4015884
refactor: use native placement options type
denischilik May 13, 2026
e110e9a
refactor: use native rokt config types
denischilik May 13, 2026
3ab0870
refactor: move rokt facade and embedded view types to kits package
denischilik May 13, 2026
dedb2cd
refactor: replace rokt isEnabled reflection with callback provider
denischilik May 13, 2026
6e2bb9a
refactor: route Rokt enabled check through kit manager contract
denischilik May 13, 2026
73c65a8
chore: remove unused imports in KitManagerImpl tests
denischilik May 13, 2026
df42198
fix: resolve rokt and buildSrc lint and ci compatibility issues
denischilik May 13, 2026
f0870f7
refactor: tighten Rokt accessor API and restore legacy docs
denischilik May 14, 2026
33d5dfd
refactor: align MParticleRokt package with kit module path
denischilik May 14, 2026
4aec17d
refactor: cache MParticleRokt accessor instance
denischilik May 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions android-core/src/main/java/com/mparticle/MParticle.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public class MParticle {
protected boolean locationTrackingEnabled = false;
@NonNull
protected Internal mInternal = new Internal();
protected Rokt rokt;
private IdentityStateListener mDeferredModifyPushRegistrationListener;
@NonNull
private WrapperSdkVersion wrapperSdkVersion = new WrapperSdkVersion(WrapperSdk.WrapperNone, null);
Expand Down Expand Up @@ -190,7 +189,6 @@ private static MParticle getInstance(@NonNull Context context, @NonNull MParticl
instance = new MParticle(options);
instance.mKitManager = new KitFrameworkWrapper(options.getContext(), instance.mMessageManager, instance.Internal().getConfigManager(), instance.Internal().getAppStateManager(), options);
instance.mIdentityApi = new IdentityApi(options.getContext(), instance.mInternal.getAppStateManager(), instance.mMessageManager, instance.mConfigManager, instance.mKitManager, options.getOperatingSystem());
instance.rokt = new Rokt(instance.mConfigManager, instance.mKitManager);

// Check if we've switched workspaces on startup
UploadSettings lastUploadSettings = instance.mConfigManager.getLastUploadSettings();
Expand Down Expand Up @@ -1128,11 +1126,6 @@ public void logNotificationOpened(@NonNull Intent intent) {
public Internal Internal() {
return mInternal;
}
@NonNull
public Rokt Rokt() {
return rokt;
}

void refreshConfiguration() {
Logger.debug("Refreshing configuration...");
mMessageManager.refreshConfiguration();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,11 @@ public boolean onPushRegistration(String instanceId, String senderId) {
return false;
}

@Override
public boolean isEnabled() {
return mCoreCallbacks.isEnabled();
}

@Override
public boolean isKitActive(int kitId) {
if (mKitManager != null) {
Expand Down Expand Up @@ -662,15 +667,6 @@ public void reset() {
}
}

@Override
@Nullable
public RoktKitApi getRoktKitApi() {
if (mKitManager != null) {
return mKitManager.getRoktKitApi();
}
return null;
}

@Override
public void setWrapperSdkVersion(@NonNull WrapperSdkVersion wrapperSdkVersion) {
if (mKitManager != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public interface KitManager {

boolean onPushRegistration(String instanceId, String senderId);

boolean isEnabled();

boolean isKitActive(int kitId);

Object getKitInstance(int kitId);
Expand Down Expand Up @@ -127,14 +129,6 @@ public interface KitManager {

void reset();

/**
* Get the RoktKitApi implementation if available.
*
* @return RoktKitApi instance or null if Rokt Kit is not configured or active
*/
@Nullable
RoktKitApi getRoktKitApi();

void setWrapperSdkVersion(@NonNull WrapperSdkVersion wrapperSdkVersion);

enum KitStatus {
Expand Down

This file was deleted.

102 changes: 0 additions & 102 deletions android-core/src/main/kotlin/com/mparticle/RoktEvent.kt

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions android-core/src/main/kotlin/com/mparticle/rokt/RoktConfig.kt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ApiVisibilityTest {
publicMethodCount++
}
}
Assert.assertEquals(63, publicMethodCount)
Assert.assertEquals(62, publicMethodCount)
}

@Test
Expand Down
Loading
Loading