title: Send Broadcast notification using azure to IOS and android
body: <p>IOS platform sends JSON payload in following format:</p>
  
  <pre><code>{"aps":{"alert":"Notification Hub test notification"}}
  </code></pre>
  
  <p>whereas Android payload format is:</p>
  
  <pre><code>{"data":{"message":"Notification Hub test notification"}}
  </code></pre>
  
  <p>My <code>SendBroadcastNotification</code>:</p>
  
  <pre><code>public void SendBroadcastNotification(string message) {
  
      NotificationHubClient hub = NotificationHubClient
               .CreateClientFromConnectionString(Constants.NotificationsHubConnectionString, "QiKStayNotificationHub",true);
      var notify = "{ \"data\" : {\"message\":\"" + message + "\"}}";
      var appnotify = "{ \"aps\" : {\"alert\":\"" + message + "\"}}";
      var task = hub.SendGcmNativeNotificationAsync(notify);
      task.Wait();  
  }
  </code></pre>
  
  <p>Since here I am sending notification to android SendGcmNativeNotificationAsync specifically I want to broadcast it to all devices.</p>
  
  <p>So shall I change the payload JSON format likewise</p>
  
  <pre><code>hubClient.SendAppleNativeNotificationAsync();
  hubClient.SendGcmNativeNotificationAsync(notify);
  </code></pre>