{"id":21076429,"url":"https://github.com/abdulrehmannazar/pushnotificationdemo","last_synced_at":"2026-05-18T01:03:16.180Z","repository":{"id":241708163,"uuid":"807460631","full_name":"AbdulRehmanNazar/PushNotificationDemo","owner":"AbdulRehmanNazar","description":"FCM PushNotificationDemo Application","archived":false,"fork":false,"pushed_at":"2024-05-29T08:06:09.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T03:45:05.663Z","etag":null,"topics":["android","android-application","demo","fcm","fcm-messaging","fcm-notifications","notification-android","push-notifications"],"latest_commit_sha":null,"homepage":"https://abdulrehmannazar.github.io/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdulRehmanNazar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T06:35:32.000Z","updated_at":"2024-06-12T08:44:32.000Z","dependencies_parsed_at":"2024-06-10T06:32:05.701Z","dependency_job_id":null,"html_url":"https://github.com/AbdulRehmanNazar/PushNotificationDemo","commit_stats":null,"previous_names":["abdulrehmannazar/pushnotificationdemo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbdulRehmanNazar/PushNotificationDemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdulRehmanNazar%2FPushNotificationDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdulRehmanNazar%2FPushNotificationDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdulRehmanNazar%2FPushNotificationDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdulRehmanNazar%2FPushNotificationDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdulRehmanNazar","download_url":"https://codeload.github.com/AbdulRehmanNazar/PushNotificationDemo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdulRehmanNazar%2FPushNotificationDemo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263671749,"owners_count":23494029,"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","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-application","demo","fcm","fcm-messaging","fcm-notifications","notification-android","push-notifications"],"created_at":"2024-11-19T19:28:24.312Z","updated_at":"2026-05-18T01:03:06.156Z","avatar_url":"https://github.com/AbdulRehmanNazar.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Kotlin Version](https://img.shields.io/badge/Kotlin-1.9.23-blue.svg?style=flat-square)](http://kotlinlang.org/)\n[![Gradle](https://img.shields.io/badge/Gradle-8.2.0-blue.svg?style=flat-square)](https://developer.android.com/build/releases/gradle-plugin)\n[![API](https://img.shields.io/badge/Min%20SDK-24%20[Android%207.0]-blue.svg?style=flat-square)](https://github.com/AndroidSDKSources/android-sdk-sources-list)\n[![Target SDK](https://img.shields.io/badge/Target%20SDK-34%20[Android%2014]-blue.svg?style=flat-square)](https://developer.android.com/about/versions/13)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](http://www.apache.org/licenses/LICENSE-2.0)\n[![Android Studio](https://img.shields.io/badge/Android-Studio-Jellyfish)](https://developer.android.com/studio/preview)\n\n# PushNotificationDemo video\nhttps://github.com/AbdulRehmanNazar/PushNotificationDemo/assets/6792823/6db76af1-82b1-419f-a9b3-e677a8b54203\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## How to use\nGet the Token from the mobile application and use it in the payload of PostMan request and get the push notification. Smile :)\n\n## PostMan Request and Payload\n### Request\nhttps://fcm.googleapis.com/fcm/send\n### Body Raw JSON\n```\n{\n    \"to\": \"INSERT_TOKEN_HERE\",\n    \"data\": {\n        \"body\": \"check_is_online\",\n        \"title\": \"check_is_online\",\n        \"key_1\": \"Value for key_1\",\n        \"key_2\": \"Value for key_2\"\n    },\n    \"android\": {\n        \"priority\": \"high\"\n    },\n    \"priority\": 10\n}\n```\n\n\n\n## Author:\n\n\n\u003ca href=\"https://github.com/AbdulRehmanNazar\" target=\"_blank\"\u003e\n  \u003cimg src=\"https://avatars.githubusercontent.com/u/6792823?v=4\" width=\"70\" align=\"left\"\u003e\n\u003c/a\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## License:\n\n\nCopyright 2024 Abdul Rehman Nazar\n\u003cbr /\u003e\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulrehmannazar%2Fpushnotificationdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdulrehmannazar%2Fpushnotificationdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdulrehmannazar%2Fpushnotificationdemo/lists"}