title: Send silent notification to my iOS app in background, through FCM message console
body: <p>I want to send silent notifications to my iOS app, for which i have implemented FCM into it. while app is in background, i need to perform some operation when app gets the notification from the FCM .</p>
  
  <p>for that ,execution process will enter into the method called </p>
  
  <pre><code>-(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
  </code></pre>
  
  <p><br/>
  but problem is that, it does not enter into this method until user taps on the notification .</p>
  
  <p>As per (<a href="https://firebase.google.com/docs/cloud-messaging/http-server-ref#data" rel="nofollow noreferrer">FCM documents</a>) , if we want to wake up our app in background then we have to pass content_available parameter with key value true . but when i am sending this information through your FCM Compose message console in <a href="https://firebase.google.com/docs/cloud-messaging/ios/receive" rel="nofollow noreferrer">custom data</a>, our app is not waking up nor getting activated in background, until user taps on the notifications. I guess the notifications which all i am receiving are normal notifications, not silent one . so FCM implementation and sending notification is working perfectly it seems.</p>
  
  <p>i have followed all the FCM documents given and referred almost all possible connected stackoverflow solutions . even i have followed apple documents for sending remote notifications . and lastly i am sending "content_available" : true through FCM message console. but it is not becoming silent notification and i am receiving notification as normal notification which user has to tap on, to enter into the method  <code>didReceiveRemoteNotification</code>.</p>
  
  <p>i have referred many links like these
      <a href="https://stackoverflow.com/questions/42275060/what-is-difference-between-remote-notification-and-silent-notification-in-ios">here</a>,
      <a href="https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html" rel="nofollow noreferrer">here</a>, &amp;
      <a href="https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html" rel="nofollow noreferrer">here</a></p>
  
  <p>is it even possible through FCM to receive notifications in backgrounds (like silent notifications) or not ?
      or any other way to implement it ?</p>