Skip to content

Commit 4d5bf19

Browse files
authored
feat: Add Rokt close implementation (#19)
Add close implementation
1 parent 172807c commit 4d5bf19

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

mParticle-Rokt/MPKitRokt.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,11 @@ - (MPKitExecStatus *)events:(NSString *)identifier onEvent:(void (^)(MPRoktEvent
415415
return [[MPKitExecStatus alloc] initWithSDKCode:[[self class] kitCode] returnCode:MPKitReturnCodeSuccess];
416416
}
417417

418+
- (MPKitExecStatus *)close {
419+
[Rokt close];
420+
return [[MPKitExecStatus alloc] initWithSDKCode:[[self class] kitCode] returnCode:MPKitReturnCodeSuccess];
421+
}
422+
418423
#pragma mark - User attributes and identities
419424

420425
- (MPKitExecStatus *)setUserIdentity:(NSString *)identityString identityType:(MPUserIdentity)identityType {

0 commit comments

Comments
 (0)