Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Using the Connect REST API Push Notification Resource (Optional)

If you prefer to send push notifications without looping through the Apex engine—in other words, if you just want to push a simple message from an external client app on one mobile device to another—use the Connect REST API push notification resource. This resource is useful for sending notifications of events that occur outside of Salesforce and can be handled entirely within the mobile external client app. You can use this resource in any type of custom app: a native Mobile SDK app, a hybrid Mobile SDK app, or an HTML5 app.

The Connect REST API resource establishes an HTTP session to send POST requests from the sending device to one or more receiving devices. This means that:
  • The sending app and the receiving apps must either be developed in the same organization or be installed from the same package.
  • Only the receiving apps are required to be registered for push notifications with Apple or Google.
  • Only the receiving apps are required to implement the Salesforce Mobile SDK push notification protocols.
  • Each app requires an external client app, but only the receiving external client apps must be configured for push notifications.