Skip to content

Commit 563ce31

Browse files
authored
Log only when using CT (#546)
1 parent c6616f2 commit 563ce31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LeanplumSDK/LeanplumSDK/ClassesSwift/Migration/LPCTNotificationsManager.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ import Foundation
5050
public override func didRegisterForRemoteNotificationsWithDeviceToken(_ deviceToken: Data) {
5151
super.didRegisterForRemoteNotificationsWithDeviceToken(deviceToken)
5252

53-
Log.debug("[Wrapper] Will call CleverTap.setPushToken for didRegisterForRemoteNotifications, when Leanplum has issued start.")
5453
handleWithCleverTapInstance {
54+
Log.debug("[Wrapper] Calling CleverTap.setPushToken for didRegisterForRemoteNotifications.")
5555
MigrationManager.shared.setPushToken(deviceToken)
5656
}
5757
}
5858

5959
func handleCleverTapNotification(userInfo: [AnyHashable : Any], event: NotificationEvent) {
60-
Log.debug("[Wrapper] Will call CleverTap.handlePushNotification for Push \(event), when Leanplum has issued start.")
6160
handleWithCleverTapInstance {
6261
Log.debug("""
6362
[Wrapper] Calling CleverTap.handlePushNotification:openDeepLinksInForeground: \

0 commit comments

Comments
 (0)