protected void InitNotifications(EndpointRouteDetails endpointRouteDetails)
{
this.endpointRouteDetails = endpointRouteDetails;
if (string.IsNullOrWhiteSpace(this.endpointRouteDetails?.BaseServiceUrl))
{
#if DEBUG
Debug.WriteLine("You need to specify base service url before you initializing push notifications");
#endif
return;
}
RegisterForPushNotifications();
TryCleaningToastNotificationHistory();
}