Skip to content

feature: add media param on generate push notif url - #81

Merged
zipzap11 merged 4 commits into
masterfrom
feature/push-notif-bypass-media-url
Jun 26, 2026
Merged

feature: add media param on generate push notif url#81
zipzap11 merged 4 commits into
masterfrom
feature/push-notif-bypass-media-url

Conversation

@zipzap11

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread media.go Outdated
// GeneratePushNotificationMediaURL Generates manipulated media URL for push notification purpose
// e.g. GeneratePushNotificationMediaURL("http://mycdn.com", "http://my.image.com/image/upload/v123/image.jpg", LargeIcon) => http://mycdn.com/image/upload/v123/image.jpg
func GeneratePushNotificationMediaURL(cdnURL, mediaSrcURL, imageType string) string {
func GeneratePushNotificationMediaURL(cdnURL, mediaSrcURL, imageType string, additionalParam string) string {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yang string di imageType buang ajah

@zipzap11
zipzap11 merged commit b7511db into master Jun 26, 2026
1 check passed
@zhenqianz
zhenqianz deleted the feature/push-notif-bypass-media-url branch July 13, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants