You need to sign in to do that
Don't have an account?

Push notifications in standard Salesforce Mobile App
Hi All,
I would like to send push notifications to salesforce mobile app given by salesforce.
I looked into the documentation by salesforce, but couldn't succeed.
I have created the trigger given in the below link
https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_apex_trigger.htm.
I have also configure the connected App as suggested in the below link:
https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_create_connected_app_android.htm
I have turned on the push notification settings in my developer org.
Any help on how to proceed further will be much appreciated.
Thanks
I would like to send push notifications to salesforce mobile app given by salesforce.
I looked into the documentation by salesforce, but couldn't succeed.
I have created the trigger given in the below link
https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_apex_trigger.htm.
I have also configure the connected App as suggested in the below link:
https://developer.salesforce.com/docs/atlas.en-us.pushImplGuide.meta/pushImplGuide/pns_create_connected_app_android.htm
I have turned on the push notification settings in my developer org.
Any help on how to proceed further will be much appreciated.
Thanks
- If you want to send push notifications to Salesforce1 users on iOS or Android, you DO NOT need to go through all the instructions for setting up a connected app, registering with Apple and Google, etc. All of that is required for custom apps running outside of Salesforce1.
- All of that is already set up for Lightning Apps you create and running in Salesforce1. All you need to do is post to the user's Chatter feed and the notification gets sent. You can create that post in Process Builder, or with Apex by creating a FeedItem record and setting the body and parentId (recipient Id).
NOTE: this works for triggers and events tied to actions of Users who have permission to post to Chatter. This does NOT work for platform events or REST calls that create records you want to trigger the notification, because in those situations, there is no "context user" that has rights to create a Chatter post. Very frustrating... my current challenge.