Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
Description
For the sake of consistency, it would be great if aerogear-android had a default MessageHandler, that would mimic the behavior of iOS push messages. That means, parsing APNS properties like "badge", "sound" and "alert" and creating a default notification based on these properties.
Users will then be able to
1) use it directly, setting it in the <metadata android:name="DEFAULT_MESSAGE_HANDLER_KEY" android:value="org.jboss.aerogear.android.unifiedpush.DefaultMessageHandler" />
2) extend it with their own class (although it would have to have some kind of API, otherwise the extending would make no sense)