aggarwalankush / aggarwalankush/ionic-push-base

App stops on the push init action

未关闭
#11 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
162
派生
64
PR 合并指标
30 天内没有已合并 PR

描述

When I try to init the Push my app stops and the problem is on the init line:
```
const options: PushOptions = {
android: {
senderID: FCM_CONFIG.SENDER_ID
},
ios: {
alert: 'true',
badge: false,
sound: 'true'
},
windows: {}
};
const pushObject: PushObject = this.push.init(options); // app stops here
```
Just to test, if I remove that line app starts normal, with that line it stops.

I followed this link to set the push:
[Push Notifications in Ionic](https://medium.com/@ankushaggarwal/push-notifications-in-ionic-2-658461108c59)

My config.xml:
```

```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。