You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/SalesforceSDKCore/SalesforceSDKCore/Classes/PushNotification/PushNotificationManager.swift
+22-16Lines changed: 22 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,16 @@ public class PushNotificationManager: NSObject {
86
86
}
87
87
88
88
publicvardeviceToken:String?
89
-
publicvardeviceSalesforceId:String?
89
+
90
+
@available(*, deprecated,
91
+
message:"Deprecated in Salesforce Mobile SDK 14.0 and will be removed in Salesforce Mobile SDK 15.0. This value is managed internally by registerSalesforceNotifications and unregisterSalesforceNotifications. No replacement is needed.")
92
+
publicvardeviceSalesforceId:String?{
93
+
get{ _deviceSalesforceId }
94
+
set{ _deviceSalesforceId = newValue }
95
+
}
96
+
// Separate private variable to avoid deprecation warnings until the field is removed
97
+
privatevar_deviceSalesforceId:String?
98
+
90
99
publicvarcustomPushRegistrationBody:[String:Any]?
91
100
92
101
/// Controls which users are re-registered for push notifications when the app returns to the foreground.
@@ -135,7 +144,7 @@ public class PushNotificationManager: NSObject {
0 commit comments