如何在离子项目(android)中安装 phonegap "push plugin"?

how to install phonegap "push plugin" in ionic project(android)?

我是 ionic 框架的新手,我正在使用 phone gap push 插件在我的 android ionic 项目中处理推送通知,参考以下文档 phonegap push plugin link

但我无法找到它是如何工作的。我需要向所有已安装的设备发送通知,以表示重新访问我的应用程序。 任何人都可以逐步给出明确的描述来解决这个问题吗?

http://ngcordova.com/docs/plugins/pushNotifications/ 安装插件 在 google Api 控制台上创建一个项目(https://console.developers.google.com/ ).

有注册方法,你会得到 $cordovaPush.register(androidConfig).then(function(result) {console.log(result);

您将获得设备令牌。注册该设备令牌并将该令牌保存在 Google API.

创建的项目中