UNPKG

voluptasmollitia

Version:
27 lines (15 loc) 695 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/messaging](./messaging.md) &gt; [getMessaging](./messaging.getmessaging.md) ## getMessaging() function Retrieves a Firebase Cloud Messaging instance. <b>Signature:</b> ```typescript export declare function getMessagingInWindow(app?: FirebaseApp): FirebaseMessaging; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | app | [FirebaseApp](./app.firebaseapp.md) | | <b>Returns:</b> [FirebaseMessaging](./messaging.firebasemessaging.md) The Firebase Cloud Messaging instance associated with the provided firebase app.