This NativeScript project demonstrates how the plugin works. If you want to test it out on an emulator or a device you can follow the instructions below:
git clone https://github.com/NativeScript/NativeScript/push-plugin.gitcd push-plugin/demoorcd push-plugin/demo-angular- if you are building for android, copy the
google-services.jsondownloaded from the general settings page for your project in the Firebase console and add the Sender ID from the Cloud Messaging settings page to theapp/main-view-model.tsfile. npm run build.plugin && npm installtns run androidortns run iosdepending on the platform you want to test