Ionic + Firebase Push notification

Hi, Recently I’ve tried to use firebase FCM with ionic 1. However, I only managed to use firebase console to send messages/notification manually to ionic app device. Can anyone tell me how to use device send notification to another device by using ionc v1 and firebase?

I’ve installed the Ionic1 and created a new empty project. Adding the android platform, it builds. Then adding the FCM plugin and the necessary google-services.json. Cordova CLI : 6.1.1 PLugin https://github.com/fechanique/cordova-plugin-fcm but error image

Can you help me?