aggarwalankush / aggarwalankush/ionic-push-base

App stops on the push init action

Đang mở
#11 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
162
Fork
64
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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:
```

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.