* allow sending data ONLY notifications for FCM notifications
* fix tests to pass
* support image parameter used for FCM
* remove unused import
* read apns payload on fcm notifications
* update go-fcm to 0.1.5
* allow sending data ONLY notifications for FCM notifications
ran into a little issue here need this tweak to be able to send and process background notifications on android
If you want to process android notifications in the BACKGROUND, they need to be data notifications, as in not contain the "notification" key in the payload.
This little change achieves it, because omitempty on structs for the JSON encoding does not work on sub-structs except if it is a pointer to it and set to nil.
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>