{"repo":"capacitor-community/fcm","free":true,"listed":false,"github":"https://github.com/capacitor-community/fcm","clone":"git clone https://github.com/capacitor-community/fcm.git","description":"Enable Firebase Cloud Messaging for Capacitor apps","language":"TypeScript","stars":273,"topics":["capacitor","ios","android","fcm","firebase","ionic","angular"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Capacitor FCM @capacitor-community/fcm Capacitor community plugin for enabling FCM capabilities Maintainers Maintainer GitHub Social ------------ --------------------------------------- ----------------------------------------- Stewan Silva stewones @stewones Notice 🚀 We're starting fresh under an official org. If you were using the previous npm package capacitor-fcm , please update your package.json to @capacitor-community/fcm . Check out changelog for more info. Installation Using npm: Using yarn: Sync native files: ### Notice This plugin is intended to be used combined with Capacitor API for Push Notifications. Capacitor only provides APN token whereas this plugin offers the possibility to work with FCM tokens and more. API method info platform ------------------- --------------------------------------------- ----------- subscribeTo subscribe to fcm topic ios/android unsubscribeFrom unsubscribe from fcm topic ios/android getToken get fcm token to eventually use from a server ios/android refreshToken refresh fcm token to get a new one ios/android deleteInstance remove local fcm instance completely ios/android setAutoInit enable the auto initialization of the library ios/android isAutoInitEnabled check whether auto initialization is enabled ios/android Usage Add Google config files Navigate to the project settings page for your app on Firebase. iOS Download the GoogleService-Info.plist file. In Xcode right-click on the yellow folder named \"App\" and select the Add files to \"","default_branch":null,"files":null,"tree":[],"storefront":"/r/capacitor-community","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/capacitor-community/fcm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}