Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update README with JSON example for notifications #828

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

appleboy
Copy link
Owner

@appleboy appleboy commented Jan 22, 2025

  • Add JSON example for sending notifications with analytics label in README.md

Label associated with the message's analytics data.

{
  "notifications": [
    {
      "tokens": ["token_a", "token_b"],
      "platform": 2,
      "message": "Hello World Android!",
      "title": "You got message",
      "fcm_options": {
        "analytics_label": "example"
      }
    }
  ]
}

fix #746
fix #444

- Add JSON example for sending notifications with analytics label in README.md

Signed-off-by: Bo-Yi Wu <[email protected]>
- Remove the documentation check step from the GitHub Actions workflow

Signed-off-by: Bo-Yi Wu <[email protected]>
@appleboy appleboy merged commit 1e19b9e into master Jan 22, 2025
10 checks passed
@appleboy appleboy deleted the docs branch January 22, 2025 06:10
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.

How analytics labels can be added to a message? Where to specify analytics_label for FCM Options?
1 participant