Reputation: 1
I need to send a push notification to salesforce built in mobile app salesforce for android, I have the app as a connected app to my org.
I have apex code which sends notification when case is created
msg.send('Salesforce for Android',users);
I get error as "NoAccessExpection: common.apex.runtime.impl.ExecutionException: Invalid connected application: Salesforce for Android"
Upvotes: 0
Views: 825
Reputation: 3
You should pass API name as a parameter, not label. API name doesn't have space. Please check the link below:
Upvotes: 0