Open chadpav opened 9 years ago
Example documentation from another platform: Customizing your Notifications
If you want to send more than just a message, you will need to use an NSDictionary to package all of the data. There are some reserved fields that have a special meaning.
We currently send push notifications through the CBPush class. There are apple specific implementation details in this class and a consumer of the class has to have internal knowledge of it's implementation to get it to work (e.g. the "aps" attributes).
I'd like the CBPush class to support strongly typed properties for standard notification features like "message" and "sound". In some cases maybe a feature is only supported by Apple or Android but this could be clearly documented in the header documentation for that property.