aggarwalankush / aggarwalankush/ionic-push-base

App stops on the push init action

Ouverte
#11 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
162
Forks
64
Métriques de merge des PR
Aucune PR mergée en 30 j

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

```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.