BuildIt.Bot.Client.Impl.iOS.BotClientAppDelegateBase.InitNotifications C# (CSharp) Method

InitNotifications() protected method

protected InitNotifications ( EndpointRouteDetails endpointRouteDetails ) : void
endpointRouteDetails BuildIt.Bot.Client.Models.EndpointRouteDetails
return void
        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();
        }