{"locator":"npm:@open-mercato/channel-fcm","path":"@open-mercato/channel-fcm","npm":"@open-mercato/channel-fcm","github":null,"repoPath":"open-mercato/open-mercato#main/packages/channel-fcm","kind":"module","type":"official","enterprise":false,"title":"Firebase Cloud Messaging Channel","summary":"Sends push notifications to Android and iOS devices through Firebase Cloud Messaging HTTP v1.","whenToUse":"Use when your mobile app already uses Firebase and you can provide a service account JSON for FCM.","whenNotToUse":"For apps built with Expo use channel-expo.","category":"communication","tags":["push","android","firebase","mobile"],"providers":[{"name":"fcm","label":"Firebase Cloud Messaging"}],"moduleIds":["channel_fcm"],"requires":[{"raw":"@open-mercato/ai-assistant","resolvesTo":"npm:@open-mercato/ai-assistant"}],"replaces":[],"slotConflicts":[],"renamedFrom":[],"supersededBy":null,"alternatives":[],"status":"active","listed":true,"featured":false,"license":{"spdx":"MIT","kind":"osi","mismatch":false},"version":{"latest":"0.10.1","preview":null,"publishedAt":"2026-11-25","integrity":"sha512-TbEt7rj14nMpicmDdzf98rXXWTStHxtaQWmZeXHdwoEbfr4ylBrDaE0xGic+jJmY+9G8EJBNh0lz8V8jSuEB2Q==","installableFrom":"2026-11-25","gitRef":null,"recommended":{"0.10":null,"0.9":"0.9.0","next":null}},"identity":{"builtFrom":"verified","claimed":false,"source":"npm"},"compat":{"builtFor":{"range":"0.10.1","kind":"exact-pin","lines":["0.9","0.10"],"ranges":{"0.10":"0.10.1","0.9":"0.9.0"}},"lines":{"0.9":{"status":"harness-red","step":"typecheck","omVersion":"0.9.0","moduleVersion":"0.9.0","at":"2026-11-29T11:30:44Z","receipt":"r_20261129_e5f612bd10e0","since":"2026-11-19","precheck":null,"patches":[]}},"verifiedOn":[],"inPresets":["0.9","0.10","next"],"ships":{"0.10":"0.10.1","0.9":"0.9.0","next":"0.11.1-develop.9022.1.4a0659af46"},"isolation":{"0.10":{"status":"verified","step":null,"moduleVersion":"0.10.1","at":"2026-11-29T10:24:19Z","receipt":"r_20261129_9f05be8f323a"},"0.9":{"status":"broken","step":"typecheck","moduleVersion":"0.9.0","at":"2026-11-17T11:00:20Z","receipt":"r_20261117_693ed41a3346","finding":"Typecheck failed: TS2345 Argument of type 'FilterQuery<NoInfer<T>>' is not assignable to parameter of type 'FilterQuery<T>'."}}},"anatomy":{"version":"0.10.1","coverage":"partial","counts":{"entities":0,"tables":0,"migrations":0,"routes":0,"publicRoutes":0,"aclFeatures":2,"eventsEmitted":0,"eventsConsumed":0,"backendPages":0,"frontendPages":0,"widgets":1,"workers":0,"cli":0,"aiTools":0,"aiAgents":0,"extends":2},"lists":{"aclFeatures":["channel_fcm.view","channel_fcm.configure"],"eventsEmitted":[],"eventsConsumed":[],"env":[],"hosts":[],"tables":[],"publicRoutes":[],"credentials":[{"key":"serviceAccountJson","type":"secret","required":true},{"key":"appName","type":"text","required":false}],"sdks":["firebase-admin"]},"callout":"ADDS 2 PERMISSIONS","diff":{"from":"0.10.0","added":{"tables":0,"routes":0,"publicRoutes":0,"aclFeatures":0,"env":[],"hosts":[]},"removed":{"tables":0,"routes":0,"aclFeatures":0}}},"signals":{"receipt":{"0.10":"untested","0.9":"harness-red","next":"untested"},"fit":{"0.10":"ok","0.9":"drift","next":"unknown"},"anatomy":"partial","supplyChain":{"status":"ok","reasons":[]},"hygiene":{"status":"warn","failing":["peer-exact-pin"]},"maintenance":{"status":"current","lastRelease":"2026-11-25","catchUpDays":null},"declaredVsObserved":{"status":"mismatch","notes":["Built for 0.9, 0.10; verified on no line."]}},"tier":"listed","quality":null,"agentPolicy":{"0.10":{"decision":"ask","reasons":[{"code":"NOT_VERIFIED","text":"Not yet tested in a new app on 0.10. In isolation (empty preset): verified on 29 Nov."},{"code":"IN_PRESET","text":"Nothing to install: a new app already registers channel_fcm in src/modules.ts."}]},"0.9":{"decision":"ask","reasons":[{"code":"NOT_VERIFIED","text":"Not judged on 0.9: our test app failed on 29 Nov."},{"code":"IN_PRESET","text":"Nothing to install: a new app already registers channel_fcm in src/modules.ts."}]},"next":{"decision":"ask","reasons":[{"code":"NOT_VERIFIED","text":"Not yet tested in a new app on next."},{"code":"IN_PRESET","text":"Nothing to install: a new app already registers channel_fcm in src/modules.ts."}]}},"install":{"cli":"yarn mercato module add @open-mercato/channel-fcm@0.10.1","cmm":"npx create-mercato-module install @open-mercato/channel-fcm@0.10.1","needsAllowThirdParty":false,"moduleFlag":null},"stats":{"downloads30d":70774,"stars":null},"sigil":{"glyph":"0010002","phase":287,"publicRoutes":false},"links":{"page":"https://www.openmercato.com/run/m/@open-mercato/channel-fcm","md":"https://www.openmercato.com/run/m/@open-mercato/channel-fcm.md","json":"https://www.openmercato.com/run/m/@open-mercato/channel-fcm.json","facts":"https://www.openmercato.com/run/m/@open-mercato/channel-fcm/v/0.10.1/facts.json","npm":"https://www.npmjs.com/package/@open-mercato/channel-fcm","repo":"https://github.com/open-mercato/open-mercato","docs":"https://docs.openmercato.com/framework/modules/push-notifications"},"addedAt":"2026-10-23","updatedAt":"2026-12-03T18:30:24Z","_meta":{"com.openmercato.modules/installable":{"0.10":"0.10.1","0.9":"0.10.1","next":"0.10.1"}},"screenshots":[{"src":"/run/shots/@open-mercato/channel-fcm-1.webp","alt":"Firebase Cloud Messaging channel settings with service account JSON and app name fields."}],"facts":{"factsVersion":1,"extractor":{"engine":"@open-mercato/cli@0.9.0 extractModuleFacts","factsContractVersion":2,"catalog":"om-modules rentgen 5","durationMs":19},"package":{"locator":"npm:@open-mercato/channel-fcm","name":"@open-mercato/channel-fcm","version":"0.10.1","integrity":"sha512-TbEt7rj14nMpicmDdzf98rXXWTStHxtaQWmZeXHdwoEbfr4ylBrDaE0xGic+jJmY+9G8EJBNh0lz8V8jSuEB2Q==","source":"npm-tarball","gitRef":null},"gate":{"installable":true,"needsModuleFlag":false,"reason":null,"modules":[{"id":"channel_fcm","src":true,"dist":true}]},"kind":"module","license":{"value":"MIT","kind":"osi","mismatch":false,"sources":{"packageJson":"MIT","licenseFile":null,"moduleInfo":null,"integrationTs":"MIT"}},"omPeers":{"@open-mercato/ai-assistant":"0.10.1","@open-mercato/shared":"0.10.1"},"dependencies":{"@open-mercato/core":"0.10.1","@open-mercato/ui":"0.10.1","firebase-admin":"^13.0.2"},"agentsMd":true,"readmeExcerpt":null,"modules":[{"id":"channel_fcm","title":"Firebase Cloud Messaging Channel","description":"Deliver mobile push to Android/iOS devices via Firebase Cloud Messaging. Registers a push ChannelAdapter (providerKey fcm) into the Communications Hub; consumed by the push_notifications delivery strategy.","requires":[],"ejectable":null,"data":{"entities":[],"migrations":{"count":0,"first":null,"last":null},"customEntities":0},"http":{"routes":[],"legacyRouteFiles":0,"authResolved":1},"security":{"aclFeatures":["channel_fcm.view","channel_fcm.configure"],"setupDefaultRoleFeatures":true},"events":{"emits":[],"subscribes":[]},"ui":{"backendPages":[],"frontendPages":[],"widgets":1,"extensionHosts":0},"background":{"workers":[],"cli":[]},"ai":{"tools":[],"agents":[]},"config":{"credentials":[{"key":"serviceAccountJson","type":"secret","required":true},{"key":"appName","type":"text","required":false}],"env":[]},"network":{"hosts":[],"undeclared":[]},"extends":[{"kind":"data-table","target":"data-table:communication_channels.channels:toolbar"},{"kind":"specialized-registry","target":"integration:channel_fcm"}],"omImports":{"@open-mercato/core":{"modules/communication_channels/lib/adapter":["SendMessageInput","SendMessageResult"],"modules/communication_channels/lib/adapter-registry-singleton":["hasChannelAdapter","registerChannelAdapter"],"modules/communication_channels/lib/push-adapter":["BasePushChannelAdapter","MISSING_PUSH_TOKEN_RESULT","deviceUnregisteredResult","readPushToken"],"modules/communication_channels/lib/push-connect-error":["resolvePushConnectErrorMessage","resolvePushConnectFieldErrors"],"modules/communication_channels/lib/push-credential-errors":["PUSH_CREDENTIAL_ERROR_INVALID_JSON","PUSH_CREDENTIAL_ERROR_MISSING_FIELDS","PUSH_CREDENTIAL_ERROR_REQUIRED"],"modules/communication_channels/lib/push-envelope":["PushEnvelope","readPushEnvelope","resolvePushBody"],"modules/communication_channels/lib/refcounted-client-cache":["createRefCountedClientCache"],"modules/push_notifications/lib/fake-provider-recorder":["isPushFakeProvidersEnabled","recordFakePush","warnPushFakeProvidersActive"],"modules/push_notifications/lib/push-health":["makePushClientConfigHealthCheck"]},"@open-mercato/shared":{"lib/di/container":["AppContainer"],"lib/i18n/context":["useT"],"modules/integrations/types":["IntegrationBundle","IntegrationDefinition"],"modules/setup":["ModuleSetupConfig"],"modules/widgets/injection":["InjectionWidgetComponentProps","InjectionWidgetModule","ModuleInjectionTable"]},"@open-mercato/ui":{"backend/FlashMessages":["flash"],"backend/injection/useGuardedMutation":["useGuardedMutation"],"backend/utils/apiCall":["apiCall"],"primitives/button":["Button"],"primitives/dialog":["Dialog","DialogContent","DialogFooter","DialogHeader","DialogTitle"],"primitives/input":["Input"],"primitives/label":["Label"],"primitives/textarea":["Textarea"]}},"collisionKeys":{"moduleId":"channel_fcm","tables":[],"aclFeatures":["channel_fcm.view","channel_fcm.configure"],"eventIds":[],"backendRoutes":[]},"publicRoutes":0,"glyph":"0010002","lint":[{"code":"peer-exact-pin","severity":"warn","message":"Peer dependencies pin Open Mercato exactly (@open-mercato/ai-assistant 0.10.1 and 1 more), so an app on any other release of Open Mercato gets a Yarn peer warning.","anchor":"i2 §1.4","src":null},{"code":"ships-tests","severity":"info","message":"The tarball ships test files.","anchor":null,"src":null},{"code":"version-drift","severity":"info","message":"integration.ts says 0.1.0, package.json says 0.10.1.","anchor":null,"src":{"file":"src/modules/channel_fcm/integration.ts","line":6}}]}],"coverage":{"routesAuthResolved":1,"integrationTs":"expanded"},"diagnostics":[]},"receipts":[{"schema":1,"id":"r_20261129_9f05be8f323a","cellKey":"9f05be8f323ab22480c1df70a5c6c27a39170ed3dba5773a0f2fe00049f71609","module":{"locator":"npm:@open-mercato/channel-fcm","version":"0.10.1","integrity":"sha512-TbEt7rj14nMpicmDdzf98rXXWTStHxtaQWmZeXHdwoEbfr4ylBrDaE0xGic+jJmY+9G8EJBNh0lz8V8jSuEB2Q=="},"om":{"line":"0.10","version":"0.10.1","createApp":"create-mercato-app@0.10.1","preset":"empty"},"harness":{"version":"c349007c2b5b","node":"24.21.0","yarn":"4.17.1","runner":"ubuntu-latest","mode":"realistic","patches":[]},"baseline":{"status":"verified","receipt":"r_20261125_59c5c6bb2c3d"},"requiresInstalled":["@open-mercato/ai-assistant@0.10.1"],"steps":[{"name":"scaffold","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"install","status":"pass","sec":72,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"add","status":"pass","sec":37,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"generate","status":"pass","sec":6,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"typecheck","status":"pass","sec":42,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"initialize","status":"pass","sec":10,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"build","status":"pass","sec":82,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"start","status":"pass","sec":5,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"smoke","status":"pass","sec":1,"signature":null,"excerpt":null,"file":null,"line":null}],"result":{"status":"verified","failedStep":null,"alsoFailed":[],"classification":"pass","quarantineUntil":null},"transition":{"from":null,"to":"verified","confirmed":true},"run":{"id":46252155556,"attempt":1,"url":"https://github.com/open-mercato/modules/actions/runs/46252155556/job/141312712374","at":"2026-11-29T10:24:19Z","durationSec":334},"attestation":null},{"schema":1,"id":"r_20261117_693ed41a3346","cellKey":"693ed41a3346b368ce5a51b132ca2c4c223ce9f915255e1eac1c7f1f69c3e17e","module":{"locator":"npm:@open-mercato/channel-fcm","version":"0.9.0","integrity":"sha512-z+abaR7D6CZWGds5P8LrCwejwSLllJyTgdsebFIl0sAnKupaVqUmX2rgaexPGeeAE1THGzO7CVNj+WMm7xcyFg=="},"om":{"line":"0.9","version":"0.9.0","createApp":"create-mercato-app@0.9.0","preset":"empty"},"harness":{"version":"c349007c2b5b","node":"24.21.0","yarn":"4.17.1","runner":"ubuntu-latest","mode":"realistic","patches":[{"id":"api-keys","why":"OM 0.9.0 empty preset omits api_keys (fixed on main in #7473, not in release/v0.9.x)","ref":"https://github.com/open-mercato/open-mercato/pull/7473"}]},"baseline":{"status":"verified","receipt":"r_20261112_971197f20239"},"requiresInstalled":[],"steps":[{"name":"scaffold","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"install","status":"pass","sec":66,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"add","status":"pass","sec":15,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"generate","status":"pass","sec":5,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"typecheck","status":"fail","sec":31,"signature":"fd330fd962608a8648b41ddfa1815bc9ce127dab","excerpt":"node_modules/@open-mercato/shared/src/lib/data/engine.ts(630,73): error TS2345: Argument of type 'FilterQuery<NoInfer<T>>' is not assignable to parameter of type 'FilterQuery<T>'.\n  Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'FilterQuery<T>'.\n    Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'NonNullable<EntityProps<T> & OperatorMap<T>>'.\n      Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'EntityProps<T>'.\nnode_modules/@open-mercato/shared/src/lib/data/engine.ts(643,73): error TS2345: Argument of type 'FilterQuery<NoInfer<T>>' is not assignable to parameter of type 'FilterQuery<T>'.\n  Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'FilterQuery<T>'.\n    Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'NonNullable<EntityProps<T> & OperatorMap<T>>'.\n      Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'EntityProps<T>'.","file":"node_modules/@open-mercato/shared/src/lib/data/engine.ts","line":630},{"name":"initialize","status":"pass","sec":8,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"build","status":"fail","sec":62,"signature":"7dc297d0ac6673fff8deed60cf05cc47248e41e4","excerpt":"node_modules/@open-mercato/shared/src/lib/data/engine.ts(630,73): error TS2345: Argument of type 'FilterQuery<NoInfer<T>>' is not assignable to parameter of type 'FilterQuery<T>'.\n  Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'FilterQuery<T>'.\n    Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'NonNullable<EntityProps<T> & OperatorMap<T>>'.\n      Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'EntityProps<T>'.\nnode_modules/@open-mercato/shared/src/lib/data/engine.ts(643,73): error TS2345: Argument of type 'FilterQuery<NoInfer<T>>' is not assignable to parameter of type 'FilterQuery<T>'.\n  Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'FilterQuery<T>'.\n    Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'NonNullable<EntityProps<T> & OperatorMap<T>>'.\n      Type 'ObjectQuery<NoInfer<T>>' is not assignable to type 'EntityProps<T>'.\nFailed to type check.","file":"node_modules/@open-mercato/shared/src/lib/data/engine.ts","line":630},{"name":"start","status":"skipped","sec":null,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"smoke","status":"skipped","sec":null,"signature":null,"excerpt":null,"file":null,"line":null}],"result":{"status":"broken","failedStep":"typecheck","alsoFailed":["build"],"classification":"module-fail","quarantineUntil":null},"transition":{"from":"verified","to":"broken","confirmed":true},"run":{"id":44067501906,"attempt":2,"url":"https://github.com/open-mercato/modules/actions/runs/44070001091/job/133993824424","at":"2026-11-17T11:00:20Z","durationSec":268},"attestation":null},{"schema":1,"id":"r_20261108_8d1e28d64758","cellKey":"8d1e28d64758f66c9db68f2d355189a42657866c619e4a2151dbc39b1a04bf55","module":{"locator":"npm:@open-mercato/channel-fcm","version":"0.9.0","integrity":"sha512-z+abaR7D6CZWGds5P8LrCwejwSLllJyTgdsebFIl0sAnKupaVqUmX2rgaexPGeeAE1THGzO7CVNj+WMm7xcyFg=="},"om":{"line":"0.9","version":"0.9.0","createApp":"create-mercato-app@0.9.0","preset":"classic"},"harness":{"version":"c349007c2b5b","node":"24.21.0","yarn":"4.17.1","runner":"ubuntu-latest","mode":"realistic","patches":[]},"baseline":{"status":"verified","receipt":"r_20261105_e5f612bd10e0"},"requiresInstalled":[],"steps":[{"name":"scaffold","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"install","status":"pass","sec":65,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"add","status":"pass","sec":10,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"generate","status":"pass","sec":30,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"typecheck","status":"pass","sec":116,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"initialize","status":"pass","sec":47,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"build","status":"pass","sec":231,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"start","status":"pass","sec":6,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"smoke","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null}],"result":{"status":"verified","failedStep":null,"alsoFailed":[],"classification":"pass","quarantineUntil":null},"transition":{"from":null,"to":"verified","confirmed":true},"run":{"id":42465231410,"attempt":1,"url":"https://github.com/open-mercato/modules/actions/runs/42465231410/job/128683246316","at":"2026-11-08T08:59:30Z","durationSec":576},"attestation":null,"notes":["in-preset"]},{"schema":1,"id":"r_20261101_693ed41a3346","cellKey":"693ed41a3346b368ce5a51b132ca2c4c223ce9f915255e1eac1c7f1f69c3e17e","module":{"locator":"npm:@open-mercato/channel-fcm","version":"0.9.0","integrity":"sha512-z+abaR7D6CZWGds5P8LrCwejwSLllJyTgdsebFIl0sAnKupaVqUmX2rgaexPGeeAE1THGzO7CVNj+WMm7xcyFg=="},"om":{"line":"0.9","version":"0.9.0","createApp":"create-mercato-app@0.9.0","preset":"empty"},"harness":{"version":"c349007c2b5b","node":"24.21.0","yarn":"4.17.1","runner":"ubuntu-latest","mode":"realistic","patches":[{"id":"api-keys","why":"OM 0.9.0 empty preset omits api_keys (fixed on main in #7473, not in release/v0.9.x)","ref":"https://github.com/open-mercato/open-mercato/pull/7473"}]},"baseline":{"status":"verified","receipt":"r_20261029_971197f20239"},"requiresInstalled":[],"steps":[{"name":"scaffold","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"install","status":"pass","sec":50,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"add","status":"pass","sec":12,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"generate","status":"pass","sec":3,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"typecheck","status":"pass","sec":21,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"initialize","status":"pass","sec":5,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"build","status":"pass","sec":48,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"start","status":"pass","sec":2,"signature":null,"excerpt":null,"file":null,"line":null},{"name":"smoke","status":"pass","sec":1,"signature":null,"excerpt":null,"file":null,"line":null}],"result":{"status":"verified","failedStep":null,"alsoFailed":[],"classification":"pass","quarantineUntil":null},"transition":{"from":null,"to":"verified","confirmed":true},"run":{"id":41292433785,"attempt":1,"url":"https://github.com/open-mercato/modules/actions/runs/41292433785/job/124806368435","at":"2026-11-01T09:16:52Z","durationSec":206},"attestation":null}],"rules":[{"id":"LST-1","pass":true,"detail":"Descriptor is valid."},{"id":"LST-2","pass":true,"detail":"Stable version exists and is not deprecated."},{"id":"LST-3","pass":true,"detail":"src/modules and dist/modules pair found."},{"id":"LST-4","pass":true,"detail":"License: MIT."},{"id":"LST-5","pass":true,"detail":"No known malware or open critical advisory."},{"id":"LST-6","pass":true,"detail":"Name reviewed at merge."},{"id":"VER-1","pass":false,"detail":"Not yet tested in a new app on 0.10. In isolation (empty preset): verified on 29 Nov."},{"id":"VER-2","pass":true,"detail":"Fits statically on 0.10: ok."},{"id":"VER-3","pass":true,"detail":"Supply chain: ok."},{"id":"VER-4","pass":true,"detail":"No lint errors."},{"id":"VER-5","pass":true,"detail":"No repository in the descriptor to compare."}],"maintainers":["pat-lewczuk","piotrkarwatka"]}
