aggarwalankush / aggarwalankush/ionic-push-base

App stops on the push init action

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
162
Forks
64
PR merge metrics
No merged PRs in 30d

Description

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

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.