mugib_sdk_push 1.2.0 copy "mugib_sdk_push: ^1.2.0" to clipboard
mugib_sdk_push: ^1.2.0 copied to clipboard

Turnkey FCM push add-on for mugib_sdk — one call wires Firebase Cloud Messaging to a Mugib client for proactive notifications.

Changelog #

1.2.0 #

  • Proactive conversations. When Mujib starts a conversation from the server (e.g. a marketing outreach campaign), the push now carries the conversation's session_id. New API:
    • MugibPushMessage.sessionId / isConversation — read the thread the push opened.
    • MugibClient.openProactiveConversation(message) — returns the MugibChatSession for that thread, ready to getHistory() (shows Mujib's opener) and send() (the user's reply flows straight back into the campaign's AI).
  • Turns an outbound notification into a real two-way conversation inside your app — the user taps the notification and continues chatting on the same thread.
  • No breaking changes; requires mugib_sdk ^1.0.39.

1.1.1 #

  • Docs: README updated with correct install versions (mugib_sdk ^1.0.38, mugib_sdk_push ^1.1.0) and the zero-config automatic App ID note. No code changes.

1.1.0 #

  • Zero-config App ID. enablePush() now reads the app's own bundle/package id (via package_info_plus) and sends it to Mujib, which returns the exact Firebase App ID for this app — resolving or registering it in the central project automatically. Developers no longer paste an App ID anywhere.
  • Requires mugib_sdk ^1.0.38.

1.0.1 #

  • enablePush() now detects when the app already uses its own (non-Mujib) default Firebase project and warns clearly. MugibPushSession exposes usingMujibProject, projectId, and a ready-to-log warning so you know to switch to per-app mode (paste that project's service account on the Mujib SDK channel) instead of central push.

1.0.0 #

  • Initial release. Adds MugibClient.enablePush(...) — a single call that fetches Mujib's central Firebase config, initializes a dedicated Firebase app (no bundled google-services.json / GoogleService-Info.plist), requests notification permission, reports the FCM token to Mujib, keeps it fresh, and surfaces foreground / opened-app messages via MugibPushMessage.
  • Requires mugib_sdk ^1.0.37.
0
likes
140
points
84
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Turnkey FCM push add-on for mugib_sdk — one call wires Firebase Cloud Messaging to a Mugib client for proactive notifications.

Homepage
Repository (GitHub)
View/report issues

Topics

#mugib #push #notifications #fcm #firebase

License

MIT (license)

Dependencies

firebase_core, firebase_messaging, flutter, mugib_sdk, package_info_plus

More

Packages that depend on mugib_sdk_push