canHandlePushMessage
Verify if push message can be handled
When your application receives a push message, you can verify whether it handleable by the Onegini Cordova Plugin.
![copy link to clipboard](../../../../../theme/img/icon-link.svg)
onegini.mobileAuth.push.canHandlePushMessage
This function verifies if push message can be handled.
- Requires a pushData in form of a JSON object
- Supplied JSON object should contain the
og_transaction_id
andog_profile_id
entry in the root orcontent
key. Here are examples of accepted JSON object.
Example 1:
Example 2:
Example usage: