public void Simple()
 {
     var service = new PushService
                       {
                           RequestBuilder = ServerRequestBuilder.Instance
                       };
     var notification = new PushNotificationRequest
                            {
                                Tags = new List<string> {"MyTag"},
                                PushIds = new List<string> {"AndroidPushId"},
                                Payload = new PushPayload
                                              {
                                                  Alert = "Alert 2"
                                              }
                            };
     service.Execute(notification,response => Debug.WriteLine("Success"),ExceptionHandler.Handle);
 }
 public void ToTag()
 {
     var service = new PushService
         {
             RequestBuilder = RequestBuilderHelper.Build()
         };
     var pushNotification = new PushNotificationRequest
         {
             Tags = new List<string> {"africa"},
             Payload = new PushPayload
                 {
                     Alert = "Alert 2"
                 }
         };
     var asyncTestHelper = new AsyncTestHelper();
     service.Execute(pushNotification, x => asyncTestHelper.Callback(null), asyncTestHelper.HandleException);
     asyncTestHelper.Wait();
 }
 public void Simple()
 {
     var service = new PushService
         {
             RequestBuilder = RequestBuilderHelper.Build()
         };
     var pushNotification = new PushNotificationRequest
         {
             PushIds = new List<string> {RemoteSettings.AndroidPushId},
             Payload = new PushPayload
                 {
                     Alert = "Alert 2"
                 }
         };
     var asyncTestHelper = new AsyncTestHelper();
     service.Execute(pushNotification, x => asyncTestHelper.Callback(null), asyncTestHelper.HandleException);
     asyncTestHelper.Wait();
 }