Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor (config: Object) {
this.transporter = new PushNotifications({gcm: config})
}
constructor (config: Object) {
this.transporter = new PushNotifications({adm: {
...config,
client_id: config.clientId,
client_secret: config.clientSecret
}})
}
constructor (config: Object) {
this.transporter = new PushNotifications({apn: config})
}
constructor (config: Object) {
this.transporter = new PushNotifications({wns: {
...config,
client_id: config.clientId,
client_secret: config.clientSecret
}})
}