{"id":30655008,"url":"https://github.com/isradeleon/notify-android","last_synced_at":"2025-08-31T09:11:56.208Z","repository":{"id":41867520,"uuid":"192229505","full_name":"isradeleon/Notify-Android","owner":"isradeleon","description":"Android library that simplifies creating \u0026 showing app notifications.","archived":false,"fork":false,"pushed_at":"2022-04-25T22:17:53.000Z","size":313,"stargazers_count":48,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-02T22:27:05.631Z","etag":null,"topics":["android","android-development","android-library","android-notification","android-notifications","notification","notification-channel","notifications","notifyer"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isradeleon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-16T19:36:05.000Z","updated_at":"2023-01-10T08:21:41.000Z","dependencies_parsed_at":"2022-08-11T19:40:41.905Z","dependency_job_id":null,"html_url":"https://github.com/isradeleon/Notify-Android","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/isradeleon/Notify-Android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isradeleon%2FNotify-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isradeleon%2FNotify-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isradeleon%2FNotify-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isradeleon%2FNotify-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isradeleon","download_url":"https://codeload.github.com/isradeleon/Notify-Android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isradeleon%2FNotify-Android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272960408,"owners_count":25022277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-development","android-library","android-notification","android-notifications","notification","notification-channel","notifications","notifyer"],"created_at":"2025-08-31T09:11:50.474Z","updated_at":"2025-08-31T09:11:56.199Z","avatar_url":"https://github.com/isradeleon.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notify-Android\n[![Release](https://img.shields.io/github/release/isradeleon/Notify-Android.svg)](https://jitpack.io/#isradeleon/Notify-Android)\n[![API](https://img.shields.io/badge/support-API%2019%2B-yellow)](https://android-arsenal.com/api?level=19#l19)\n[![API](https://img.shields.io/badge/support-API%2026%2B-green)](https://android-arsenal.com/api?level=28#l19)\n\nAndroid library that simplifies creating \u0026 showing app notifications. Change the notification's icon or add a circular image or a picture to the notification using the Notify class.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"preview1.jpeg\"\u003e\n    \u003cimg src=\"preview2.jpeg\"\u003e\n\u003c/p\u003e\n\n## Installation\n\nAdd jitpack.io to your root build.gradle:\n```gradle\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nInclude the dependency in your app build.gradle:\n```gradle\ndependencies {\n    implementation 'com.github.isradeleon:Notify-Android:1.0.5' // updated for Android X\n}\n```\n\n## Notification channel for API \u003e= 26\n\nYou may need to add the default notification channel to your app/res/values/strings.xml file:\n```xml\n\u003cresources\u003e\n\n    \u003cstring translatable=\"false\" name=\"notify_channel_id\"\u003eMyDefaultChannelID\u003c/string\u003e\n\n    \u003cstring translatable=\"false\" name=\"notify_channel_name\"\u003eMyDefaultChannelName\u003c/string\u003e\n\n    \u003cstring translatable=\"false\" name=\"notify_channel_description\"\u003eMyDefaultChannelDescription\u003c/string\u003e\n\n\u003c/resources\u003e\n```\n\n## Basic usage\n\n```java\n@Override\nprotected void onCreate(Bundle savedInstanceState) {\n\n    Notify.build(getApplicationContext())\n\n        /*\n         * Set notification title and content\n         * */\n        .setTitle(\"Jill Zhao\")\n        .setContent(\"Hi! So I meet you today?\")\n\n        /*\n         * Set small icon from drawable resource\n         * */\n        .setSmallIcon(R.drawable.ic_notifications_none_white_24dp)\n        .setColor(R.color.colorPrimary)\n\n        /*\n         * Set notification large icon from drawable resource or URL\n         * (make sure you added INTERNET permission to AndroidManifest.xml)\n         * */\n        .setLargeIcon(\"https://images.pexels.com/photos/139829/pexels-photo-139829.jpeg?auto=compress\u0026cs=tinysrgb\u0026dpr=2\u0026h=150\u0026w=440\")\n\n        /*\n         * Circular large icon\n         * */\n        .largeCircularIcon()\n\n        /*\n         * Add a picture from drawable resource or URL\n         * (INTERNET permission needs to be added to AndroidManifest.xml)\n         * */\n        .setPicture(\"https://images.pexels.com/photos/1058683/pexels-photo-1058683.jpeg?auto=compress\u0026cs=tinysrgb\u0026dpr=2\u0026h=650\u0026w=940\")\n\n        .show(); // Show notification\n}\n```\n\n## Methods\n\n| Method | Description |\n|------------------------------------|--------------------------|\n| **Notify.build(context)** | Create a Notify object |\n| **setId(id)** | Set the identifier for the notification |\n| **setTitle(title)** | Set the notification title |\n| **setContent(content)** | Set the notification content |\n| **setImportance(importance)** | Handle the importance with NotifyImportance |\n| **setLargeIcon(largeIcon)** | Set the large icon from a drawable or URL resource |\n| **largeCircularIcon()** | Make large icon circular |\n| **setSmallIcon(smallIcon)** | Set the small icon from a drawable resource |\n| **setPicture(picture)** | Set a picture from a drawable or URL resource |\n| **setChannelId(id)** | Set the notification channel id |\n| **setChannelName(name)** | Set the notification channel name |\n| **setChannelDescription(description)** | Set the notification channel description |\n| **setAutoCancel(autoCancel)** | Set the auto-cancel value |\n| **setAction(intent)** | Set the action for when user clicks the notification  |\n| **enableVibration(vibration)** | Enable or disable the vibration |\n| **setVibrationPattern(vibrationPattern)** | Set the vibration pattern |\n| **getNotificationBuilder()** | Return the native NotificationCompat.Builder object |\n| **show()** | Show the notification |\n| **cancel(context, id)** | Cancel the specified notification by id |\n| **cancelAll(context)** | Cancel all notifications |\n\n## License\n\nThis library is licensed under `MIT license`. View [license](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisradeleon%2Fnotify-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisradeleon%2Fnotify-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisradeleon%2Fnotify-android/lists"}