Tags: appleboy/gorush
Tags
docs: update documentation and configuration for latest release - Change changelog source from git to GitHub in `.goreleaser.yaml` - Update download links in `README.md` to use gorush version 1.18.9 - Update Go version requirement in `README.md` to at least Go 1.22 Signed-off-by: appleboy <appleboy.tw@gmail.com>
docs: enhance notification API documentation and examples - Update Netlify link description and add Firebase Cloud Messaging web link - Add example curl command for sending a notification via the API Signed-off-by: appleboy <appleboy.tw@gmail.com>
chore(fcm): notification handling logic for sound field (#797) * chore(fcm): notification handling logic for sound field - Remove `IsGRPC` field from `PushNotification` struct - Simplify condition by removing `IsGRPC` check in `GetAndroidNotification` - Add checks for `APNS` and `Android` fields in `GetAndroidNotification` - Remove `IsGRPC` initialization in `Send` method of `Server` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * refactor: refactor sound request handling and validation - Change `req.Sound` type check from string to interface - Add type assertion for `req.Sound` to string - Ensure `req.APNS` and `req.Android` are only set if `req.Sound` is a string Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> --------- Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
feat: implement gRPC support sound field for FCM (#794) - Add `IsGRPC` field to `PushNotification` struct - Add logic to handle sound configuration for gRPC notifications in `GetAndroidNotification` - Set `IsGRPC` to `true` in the `Send` function of the `Server` struct Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
refactor(fcm): test Android notification handling (#786) - Refactor JSON marshaling logic in `GetAndroidNotification` function - Add test case for JSON data structure in `TestAndroidNotificationStructure` function Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
chore: switch to `appleboy/go-hms-push` library (#770) - Replace `msalihkarakasli/go-hms-push` with `appleboy/go-hms-push` in `go.mod` - Update import paths from `msalihkarakasli/go-hms-push` to `appleboy/go-hms-push` in `global.go` - Update import paths from `msalihkarakasli/go-hms-push` to `appleboy/go-hms-push` in `notification.go` - Update import paths from `msalihkarakasli/go-hms-push` to `appleboy/go-hms-push` in `notification_hms.go` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
PreviousNext