Skip to main content
clarify intention to ask about solution architecture, not library recommendations
Source Link
Teo.sk
  • 183
  • 1
  • 6

What's the best solution for How to architect push notifications in a Unity app that is using a PHP back-end for in-app notifications?

I'm working on a mobile game for a client. The tech stack is following:

  • Unity for iOS / Android app
  • Unity Cloud for building the apps
  • Firebase for event analytics
  • PHP/Symfony + PostgreSQL for back-end
  • REST API for communication between the twoapp and the back-end

The game already implements in-app notifications using the API. On the server, there's a CRON job with business logic that checks for events that should trigger notifications. The logged-in player then fetches a notification end-point to display unread notifications to the player.

The client now wishes for these notifications to also be push notifications for the players, even if they closed the game. What's the best solution for architecting this requirement, considering the tech stack and already existing in-app notification system?
I already considered the following:

What's the best solution for push notifications in a Unity app that is using a PHP back-end?

I'm working on a mobile game for a client. The tech stack is following:

  • Unity for iOS / Android app
  • Unity Cloud for building the apps
  • Firebase for event analytics
  • PHP/Symfony + PostgreSQL for back-end
  • REST API for communication between the two

The game already implements in-app notifications using the API. On the server, there's a CRON job with business logic that checks for events that should trigger notifications. The logged-in player then fetches a notification end-point to display unread notifications to the player.

The client now wishes for these notifications to also be push notifications for the players, even if they closed the game. What's the best solution for this requirement, considering the tech stack?
I already considered the following:

How to architect push notifications in a Unity app that is using a PHP back-end for in-app notifications?

I'm working on a mobile game for a client. The tech stack is following:

  • Unity for iOS / Android app
  • Unity Cloud for building the apps
  • Firebase for event analytics
  • PHP/Symfony + PostgreSQL for back-end
  • REST API for communication between the app and the back-end

The game already implements in-app notifications using the API. On the server, there's a CRON job with business logic that checks for events that should trigger notifications. The logged-in player then fetches a notification end-point to display unread notifications to the player.

The client now wishes for these notifications to also be push notifications for the players, even if they closed the game. What's the best solution for architecting this requirement, considering the tech stack and already existing in-app notification system?
I already considered the following:

Source Link
Teo.sk
  • 183
  • 1
  • 6

What's the best solution for push notifications in a Unity app that is using a PHP back-end?

I'm working on a mobile game for a client. The tech stack is following:

  • Unity for iOS / Android app
  • Unity Cloud for building the apps
  • Firebase for event analytics
  • PHP/Symfony + PostgreSQL for back-end
  • REST API for communication between the two

The game already implements in-app notifications using the API. On the server, there's a CRON job with business logic that checks for events that should trigger notifications. The logged-in player then fetches a notification end-point to display unread notifications to the player.

The client now wishes for these notifications to also be push notifications for the players, even if they closed the game. What's the best solution for this requirement, considering the tech stack?
I already considered the following: