strongloop / loopback-component-push

Push notification component for LoopBack.
http://loopback.io/doc/en/lb2/Push-notifications.html
Other
96 stars 95 forks source link

Add FCM support for iOS devices #148

Closed zbarbuto closed 6 years ago

zbarbuto commented 7 years ago

Bug or feature request

Description of feature (or steps to reproduce if bug)

Since node GCM now goes through FCM which supports both iOS and android, it would be nice if you could set a flag to allow iOS devices to go through the GCM provider. Currently we're using the hack of setting all device types to 'android'.

I suggest adding a 'provider' property to the installation model which will fallback to deviceType if provider is not set. This would allow for still storing stats on what devices people are using but routing all devices through the same provider.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.