Skip to content

chore(example): clarify ExampleService demo vs. Courier integration comments#54

Merged
mikemilla merged 1 commit into
mainfrom
chore/example-service-comments
May 27, 2026
Merged

chore(example): clarify ExampleService demo vs. Courier integration comments#54
mikemilla merged 1 commit into
mainfrom
chore/example-service-comments

Conversation

@mikemilla
Copy link
Copy Markdown
Collaborator

Summary

  • Rewrite comments in the demo ExampleService.kt so developers can clearly see the two required Courier SDK calls vs. the demo notification rendering.
  • Document what Courier.onMessageReceived and Courier.onNewToken do behind the scenes (delivery tracking + token sync).
  • Mark the CourierPushNotificationIntent + presentNotification block as demo-only and point to NotificationCompat.Builder for production.
  • Link to the relevant Courier React Native, Courier Android, and Android notification docs from the file header.
  • Remove unused SuppressLint import.
  • No behavior changes. No build/version changes.

Made with Cursor

…omments

Make it clear that Courier.onMessageReceived/onNewToken are the actual
integration points and the CourierPushNotificationIntent + presentNotification
block is demo-only. Link to Courier and Android NotificationCompat docs.
Remove unused SuppressLint import.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mikemilla mikemilla merged commit fa96caa into main May 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant