aggarwalankush / aggarwalankush/ionic-push-base

App stops on the push init action

Offen
#11 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
162
Forks
64
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.