Skill Level: Any
Not what you’re looking for? Check out all our available tutorials for mobile app messaging here.
Give the SDKâ€™s GCM broadcast receiver the highest priority and add a GCM broadcast receiver for non-MCE notifications that will receive the non-MCE notifications.
When a GCM message arrives, the SDK GCM broadcast receiver checks whether it has originated from the MCE server. If it was, it handles it and blocks broadcasting it to other receivers. If it did not originate from the MCE server, it does nothing and leaves it to other receivers.
Note: If necessary, it is also possible to use multiple GCM sender IDs. When you register multiple sender IDs, separate them by commas (,).
The following example shows the Manifest file section:
Need more help? Check out all of our available tutorials for mobile app messaging here.