Skip to content

Commit dbc131a

Browse files
committed
Initialize CleverTapUnityManager on launch
1 parent d7d3cd4 commit dbc131a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Leanplum-Unity-SDK/Assets/CleverTapUnity/iOS/CleverTapUnityManager.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ + (void)launchWithAccountID:(NSString*)accountID andToken:(NSString *)token {
6868

6969
+ (void)launchWithAccountID:(NSString*)accountID token:(NSString *)token region:(NSString *)region {
7070
[CleverTap setCredentialsWithAccountID:accountID token:token region:region];
71+
// Initialize CleverTapUnityManager to register listeners and set delegates
72+
[CleverTapUnityManager sharedInstance];
7173
[[CleverTap sharedInstance] notifyApplicationLaunchedWithOptions:nil];
7274
}
7375

0 commit comments

Comments
 (0)