mugib_sdk_push 1.2.0
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 theMugibChatSessionfor that thread, ready togetHistory()(shows Mujib's opener) andsend()(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 (viapackage_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.MugibPushSessionexposesusingMujibProject,projectId, and a ready-to-logwarningso 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 bundledgoogle-services.json/GoogleService-Info.plist), requests notification permission, reports the FCM token to Mujib, keeps it fresh, and surfaces foreground / opened-app messages viaMugibPushMessage. - Requires
mugib_sdk^1.0.37.