/// <param name="appID">PushWoosh application id</param>
        /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param>
        private NotificationService(string appID, string pushPage)
        {
            _pushPage = pushPage;
            AppID = appID;

            Statistic = new StatisticService(appID);
            Tags = new TagsService(appID);
            GeoZone = new GeozoneService(appID);
        }
        /// <param name="appID">PushWoosh application id</param>
        /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param>
        private NotificationService(string appID, string pushPage)
        {
            _pushPage = pushPage;
            AppID     = appID;

            Statistic = new StatisticService(appID);
            Tags      = new TagsService(appID);
            GeoZone   = new GeozoneService(appID);
        }
        /// <param name="appID">PushWoosh application id</param>
        /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param>
        private NotificationService(string appID, string pushPage)
        {
            _pushPage = pushPage;
            AppID = appID;
            PushToken = "";

            Statistic = new StatisticService(appID);
            Tags = new TagsService(appID);
            GeoZone = new GeozoneService(appID);

            Statistic.SendAppOpen();
        }
        /// <param name="appID">PushWoosh application id</param>
        /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param>
        private NotificationService(string appID, string pushPage)
        {
            _pushPage = pushPage;
            AppID     = appID;
            PushToken = "";

            Statistic = new StatisticService(appID);
            Tags      = new TagsService(appID);
            GeoZone   = new GeozoneService(appID);

            Statistic.SendAppOpen();
        }
Пример #5
0
        /// <param name="appID">PushWoosh application id</param>
        private NotificationService(string appID)
        {
            AppID = appID;
            ApplicationData.Current.LocalSettings.Values["com.pushwoosh.appid"] = appID;

            PushToken = "";

            GeoZone = new GeozoneService(appID);

            AppOpenRequest request = new AppOpenRequest {
                AppId = appID
            };

            PushwooshAPIServiceBase.InternalSendRequestAsync(request, null, null);
        }
        /// <param name="appID">PushWoosh application id</param>
        /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param>
        private NotificationService(string appID)
        {
            AppID = appID;
            ApplicationData.Current.LocalSettings.Values["com.pushwoosh.appid"] = appID;

            PushToken = "";

            Statistic = new StatisticService(appID);
            Tags = new TagsService(appID);
            GeoZone = new GeozoneService(appID);

            Statistic.SendAppOpen();
        }