• 1 Post
  • 2 Comments
Joined 1 year ago
cake
Cake day: November 20th, 2023

help-circle
  • Unfortunately, it’s not feasible to send traditional push notifications on a local network since they rely on Apple’s and Google’s servers. However, a workable alternative involves having mobile apps run in the background. This is straightforward on Android and, while more challenging on iOS, it’s certainly achievable.
    By connecting these background-running apps to a broadcasting server using a socket connection, you can facilitate the exchange of messages between the server and the mobile app. Consequently, the apps can generate local notifications. These local notifications have the same appearance and functionality as standard push notifications, providing a similar user experience without the need for external server dependencies.