public GcmService()
: base(PushHandlerBroadcastReceiver.GoogleApiConsoleAppProjectNumber)
{
if (string.IsNullOrWhiteSpace(Settings.Instance.PushNotificationSettings?.EndpointRouteDetails?.BaseServiceUrl))
{
#if DEBUG
throw new Exception("You need to set the BaseServiceUrl, in Settings.Instance.EndpointRouteDetails, before working with Push Notifications");
#endif
}
else
{
this.botClientMobileApp = new BotClientMobileAppClient(Settings.Instance.PushNotificationSettings.EndpointRouteDetails);
}
}