title: Cloud Function is not triggering my client-side function
body: <p>In our project, we activated cloud functions and deployed a function into the cloud to notify all the clients whenever a Remote Config value has changed on firebase remote config.</p>
  <p><strong>Cloud function:</strong></p>
  <pre><code>    exports.pushConfig = functions.remoteConfig.onUpdate(versionMetadata =&gt; {
      // Create FCM payload to send data message to PUSH_RC topic.
  
      const payload = {
          topic: &quot;PUSH_RC&quot;,
          data: {
              &quot;CONFIG_STATE&quot;: &quot;STALE&quot;
          }
      };
      // Use the Admin SDK to send the ping via FCM.
      return admin.messaging().send(payload, false).then(resp =&gt; {
          console.log(resp);
          return null;
      });
  });
  </code></pre>
  <p>And I also have done everything mentioned in
  <a href="https://firebase.google.com/docs/cloud-messaging/ios/send-image" rel="nofollow noreferrer">https://firebase.google.com/docs/cloud-messaging/ios/send-image</a></p>
  <p>But still, when I update a key on remote config, I can see that the function is triggered by the firebase from the cloud function logs, but it won't call my client-side function, which is registered to messaging.</p>