An Android library for pull-based remote notifications using JSON files, as an alternative to Google GCM/Amazon SNS.
android-remote-notifications is an Android library that allows apps to display notifications by pulling data from a remote JSON file instead of using traditional push notification services. It solves the problem of dependency on Google GCM or Amazon SNS by providing a simple, self-managed alternative for delivering messages to users. Developers can schedule updates, customize display types, and define actions directly through JSON configuration.
Android developers who need a lightweight, independent notification system without relying on Google or Amazon services, particularly those managing multiple apps or wanting to inform users about updates, discounts, or premium versions.
It offers full control over notification delivery with no external dependencies, flexible scheduling, and easy integration via a simple JSON file, making it ideal for developers who prefer pull-based communication over push services.
Pulls notifications from a remote JSON file and shows them in your app.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Eliminates reliance on Google GCM or Amazon SNS by pulling notifications from a self-hosted JSON file, giving developers full control over the notification pipeline as emphasized in the README.
Supports update intervals like daily, weekly, and bi-weekly, with version-specific targeting and start dates, allowing precise control over notification delivery as detailed in the configuration parameters.
Can be set up with a single line of code, such as RemoteNotifications.start(context, url, UpdatePolicy.NOW), making it quick to implement without complex setup, as shown in the example integration.
Notifications can be shown as AlertDialog or Toast with configurable buttons and actions like opening URLs or the app store, all defined in the JSON file, as illustrated in the example configurations.
Since it uses pull-based architecture with configurable intervals, notifications are not instant and can be delayed based on the update policy, making it unsuitable for time-sensitive messages that require immediate delivery.
The library depends on a remotely hosted JSON file; if the file server is down, inaccessible, or has errors, notifications will fail to update or show, introducing a single point of failure without built-in redundancy.
Compared to full push services, it lacks features like rich media notifications, sound customization, priority levels, and built-in analytics for tracking delivery and engagement, which are common in services like Firebase Cloud Messaging.
android-remote-notifications is an open-source alternative to the following products:
A deprecated cloud messaging service from Google that enabled developers to send messages and notifications to Android, iOS, and web applications (succeeded by Firebase Cloud Messaging).
Amazon Simple Notification Service (SNS) is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication, enabling pub/sub messaging, SMS, mobile push, and email notifications.