title: Sound and vibration with FCM notification on iOS?
body: <p>I am using Firebase Cloud Messaging to send notifications for my iOS app. I would like to add a vibration and sound when the device receives a notification. I've tried the following structure for the message:</p>
  
  <pre><code>var message = {
  
              "notification": {
                "title":"Ma Cherie",
                "body":messageText
              },
              "sound":"default"
              topic: topic
    };
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>Error sending message: { Error: Invalid JSON payload received. Unknown name "sound" at 'message.notification': Cannot find field.
  </code></pre>
  
  <p>I have also tried:</p>
  
  <pre><code>var message = {
  
              "notification": {
                "title":"Ma Cherie",
                "body":messageText
              },
              "apns": {
                   "payload": {
                       "aps": {
                          "sound": "default"
                       }
                   }
              },
              topic: topic
    };
  </code></pre>
  
  <p>but I get the same error. How do I add a sound to the notification (and a vibration and badge)?</p>