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: MIGRATION_GUIDE_v3_to_v5.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ The SDK is still accessible via a `OneSignal` static class, it provides access t
158
158
|`void Logout()`|*Logout the user previously logged in via [login]. The [user] property now references a new device-scoped user. A device-scoped user has no user identity that can later be retrieved, except through this device as long as the app remains installed and the app data is not cleared.*|
159
159
160
160
161
-
**User Namespace**
161
+
### User Namespace
162
162
The user name space is accessible via `OneSignal.User` and provides access to user-scoped functionality.
163
163
164
164
|**C#**|**Description**|
@@ -180,7 +180,7 @@ The user name space is accessible via `OneSignal.User` and provides access to us
180
180
|`void RemoveTags(params string[] keys)`|*Remove multiple tags from the current user.*|
181
181
182
182
183
-
**Session Namespace**
183
+
### Session Namespace
184
184
The session namespace is accessible via `OneSignal.Session` and provides access to session-scoped functionality.
185
185
186
186
|**C#**|**Description**|
@@ -190,7 +190,7 @@ The session namespace is accessible via `OneSignal.Session` and provides access
190
190
|`void AddOutcomeWithValue(string name, float value)`|*Add an outcome with the provided name and value, captured against the current session.*|
191
191
192
192
193
-
**Notifications Namespace**
193
+
### Notifications Namespace
194
194
The notification namespace is accessible via `OneSignal.Notifications` and provides access to notification-scoped functionality.
195
195
196
196
|**C#**|**Description**|
@@ -205,7 +205,7 @@ The notification namespace is accessible via `OneSignal.Notifications` and provi
205
205
|`event EventHandler<NotificationClickEventArgs> Clicked` <br><br> `NotificationClickEventArgs { INotification Notification, INotificationClickResult Result }`|*Set an event that will fire whenever a notification is clicked on by the user.*|
206
206
207
207
208
-
**Location Namespace**
208
+
### Location Namespace
209
209
The location namespace is accessible via `OneSignal.Location` and provides access to location-scoped functionality.
210
210
211
211
|**C#**|**Description**|
@@ -214,7 +214,7 @@ The location namespace is accessible via `OneSignal.Location` and provides acces
214
214
|`void RequestPermission()`|*Use this method to manually prompt the user for location permissions. This allows for geotagging so you send notifications to users based on location.*|
215
215
216
216
217
-
**InAppMessages Namespace**
217
+
### InAppMessages Namespace
218
218
The In App Messages namespace is accessible via `OneSignal.InAppMessages` and provides access to in app messages-scoped functionality.
219
219
220
220
|**C#**|**Description**|
@@ -229,7 +229,7 @@ The In App Messages namespace is accessible via `OneSignal.InAppMessages` and pr
229
229
|`event EventHandler<InAppMessageClickEventArgs> Clicked` <br><br> `InAppMessageClickEventArgs { IInAppMessage Message, IInAppMessageClickResult Result }`|*Set the IAM click events.*|
230
230
231
231
232
-
**LiveActivities Namespace**
232
+
### LiveActivities Namespace
233
233
The Live Activities namespace is accessible via `OneSignal.LiveActivities` and provides access to live activities-scoped functionality.
234
234
235
235
|**C#**|**Description**|
@@ -238,7 +238,7 @@ The Live Activities namespace is accessible via `OneSignal.LiveActivities` and p
238
238
|`Task<bool> ExitAsync(string activityId)`|***Note:****This method is for iOS only<br>Exiting a Live activity deletes the association between a customer defined activityId with a Live Activity temporary push token on OneSignal's server.*|
239
239
240
240
241
-
**Debug Namespace**
241
+
### Debug Namespace
242
242
The debug namespace is accessible via `OneSignal.Debug` and provides access to debug-scoped functionality.
Copy file name to clipboardExpand all lines: OneSignalExample/Assets/OneSignal/MIGRATION_GUIDE_v3_to_v5.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@ The SDK is still accessible via a `OneSignal` static class, it provides access t
158
158
|`void Logout()`|*Logout the user previously logged in via [login]. The [user] property now references a new device-scoped user. A device-scoped user has no user identity that can later be retrieved, except through this device as long as the app remains installed and the app data is not cleared.*|
159
159
160
160
161
-
**User Namespace**
161
+
### User Namespace
162
162
The user name space is accessible via `OneSignal.User` and provides access to user-scoped functionality.
163
163
164
164
|**C#**|**Description**|
@@ -180,7 +180,7 @@ The user name space is accessible via `OneSignal.User` and provides access to us
180
180
|`void RemoveTags(params string[] keys)`|*Remove multiple tags from the current user.*|
181
181
182
182
183
-
**Session Namespace**
183
+
### Session Namespace
184
184
The session namespace is accessible via `OneSignal.Session` and provides access to session-scoped functionality.
185
185
186
186
|**C#**|**Description**|
@@ -190,7 +190,7 @@ The session namespace is accessible via `OneSignal.Session` and provides access
190
190
|`void AddOutcomeWithValue(string name, float value)`|*Add an outcome with the provided name and value, captured against the current session.*|
191
191
192
192
193
-
**Notifications Namespace**
193
+
### Notifications Namespace
194
194
The notification namespace is accessible via `OneSignal.Notifications` and provides access to notification-scoped functionality.
195
195
196
196
|**C#**|**Description**|
@@ -205,7 +205,7 @@ The notification namespace is accessible via `OneSignal.Notifications` and provi
205
205
|`event EventHandler<NotificationClickEventArgs> Clicked` <br><br> `NotificationClickEventArgs { INotification Notification, INotificationClickResult Result }`|*Set an event that will fire whenever a notification is clicked on by the user.*|
206
206
207
207
208
-
**Location Namespace**
208
+
### Location Namespace
209
209
The location namespace is accessible via `OneSignal.Location` and provides access to location-scoped functionality.
210
210
211
211
|**C#**|**Description**|
@@ -214,7 +214,7 @@ The location namespace is accessible via `OneSignal.Location` and provides acces
214
214
|`void RequestPermission()`|*Use this method to manually prompt the user for location permissions. This allows for geotagging so you send notifications to users based on location.*|
215
215
216
216
217
-
**InAppMessages Namespace**
217
+
### InAppMessages Namespace
218
218
The In App Messages namespace is accessible via `OneSignal.InAppMessages` and provides access to in app messages-scoped functionality.
219
219
220
220
|**C#**|**Description**|
@@ -229,7 +229,7 @@ The In App Messages namespace is accessible via `OneSignal.InAppMessages` and pr
229
229
|`event EventHandler<InAppMessageClickEventArgs> Clicked` <br><br> `InAppMessageClickEventArgs { IInAppMessage Message, IInAppMessageClickResult Result }`|*Set the IAM click events.*|
230
230
231
231
232
-
**LiveActivities Namespace**
232
+
### LiveActivities Namespace
233
233
The Live Activities namespace is accessible via `OneSignal.LiveActivities` and provides access to live activities-scoped functionality.
234
234
235
235
|**C#**|**Description**|
@@ -238,7 +238,7 @@ The Live Activities namespace is accessible via `OneSignal.LiveActivities` and p
238
238
|`Task<bool> ExitAsync(string activityId)`|***Note:****This method is for iOS only<br>Exiting a Live activity deletes the association between a customer defined activityId with a Live Activity temporary push token on OneSignal's server.*|
239
239
240
240
241
-
**Debug Namespace**
241
+
### Debug Namespace
242
242
The debug namespace is accessible via `OneSignal.Debug` and provides access to debug-scoped functionality.
0 commit comments