Logo-amall

@L3K0V How would we solve push notifications in Nhost? Any ideas?

Last active 4 months ago

2 replies

12 views

  • EL

    @L3K0V How would we solve push notifications in Nhost? Any ideas?

  • L3

    Hey @elitan, thanks for the interest. Currently I have basic working example set up for my project using Firebase Push Notifications. I was switching from Parse Server where they provide support. @Pilou created an issue to track this after a discussion with him some time ago: https://github.com/nhost/hasura-auth/issues/239

    TLDR: I proposed to introduce Installation in hasura-auth to track users installations. Installation can hold basic info about the user device, locale setting, which version of the app or nhost platform is using. User can have multiple installations. (I can share some impl here) The installation holds device token and push type - imagine FCM as push type with the device token for Firebase or APN push type with device token again but for Apple Push Notification services. It's flexible enough. On other hand using triggers or remote schemas different providers can be supported.

Last active 4 months ago

2 replies

12 views