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

salesforce push notification is not working when app is close
I am using salesforce push notification for android device and (without the Salesforce Mobile SDK). Since payload structure of salesforce push notification is change.
{message : {data : JSON, from : String, messageId : String, ttl : Int}}
I am using local notification to show the notification banner on android device but it is not working when app is closed.
Please let me how to resolve this. How can I show notification banne without localnotification
Or is there a way to change the payload structure of the Salesforce PushNotification class to like this
{message :
{notification : JSON, from : String, messageId : String, ttl : Int},
{data: JSON},
}