{"id":19944589,"url":"https://github.com/0x1bitcrack3r/rnfirebasecallnotifications","last_synced_at":"2025-05-03T16:31:16.950Z","repository":{"id":46779653,"uuid":"345383514","full_name":"0x1bitcrack3r/RNFirebaseCallNotifications","owner":"0x1bitcrack3r","description":"Firebase incoming call notifications for React Native based applications.","archived":false,"fork":false,"pushed_at":"2021-09-26T09:27:14.000Z","size":695,"stargazers_count":24,"open_issues_count":2,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T18:12:46.149Z","etag":null,"topics":["android","call-notifications","firebase","firebase-console","hacktoberfest","ios","notifications","react","react-native"],"latest_commit_sha":null,"homepage":"https://0x1bitcrack3r.medium.com/incoming-call-notifications-for-react-native-apps-ef4725702401","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x1bitcrack3r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"0x1bitcrack3r","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"0x1bitcrack3r","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-03-07T15:36:03.000Z","updated_at":"2025-03-03T16:02:20.000Z","dependencies_parsed_at":"2022-09-24T17:58:03.868Z","dependency_job_id":null,"html_url":"https://github.com/0x1bitcrack3r/RNFirebaseCallNotifications","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1bitcrack3r%2FRNFirebaseCallNotifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1bitcrack3r%2FRNFirebaseCallNotifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1bitcrack3r%2FRNFirebaseCallNotifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x1bitcrack3r%2FRNFirebaseCallNotifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x1bitcrack3r","download_url":"https://codeload.github.com/0x1bitcrack3r/RNFirebaseCallNotifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252216089,"owners_count":21713097,"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","call-notifications","firebase","firebase-console","hacktoberfest","ios","notifications","react","react-native"],"created_at":"2024-11-13T00:21:47.146Z","updated_at":"2025-05-03T16:31:16.486Z","avatar_url":"https://github.com/0x1bitcrack3r.png","language":"Java","funding_links":["https://patreon.com/0x1bitcrack3r","https://liberapay.com/0x1bitcrack3r"],"categories":[],"sub_categories":[],"readme":"# Android Call Notifications App (React Native)\n\n|                       Banner Notifications                       |                         FullScreen Notifications                         |\n| :--------------------------------------------------------------: | :----------------------------------------------------------------------: |\n| ![Banner Notification](./readme_assets/banner_notifications.jpg) | ![FullScreen Notification](./readme_assets/fullscreen_notifications.jpg) |\n\n## Prerequisites for project\n\n1. Create a firebase project from firebase console\n2. Download `google-services.json` from your project and place in `android\u003eapp` directory.\n3. Make sure of your app package name. The package name should be unique while creating a project in firebase console.\n4. Replace the existing package(com.viauapp) name with your package name in the RNFirebaseCallNotifications project.\n\n## Project setup\n\n1. Clone the repository and go to root directory and do `npm install`\n2. And start metro bundler `react-native start --reset-cache`\n3. Connect your android device or start emulator and run the following command `react-native run-android`\n4. You will find the fcm token in console log. Use that fcm token to test the call notifications\n\n## Following installation steps\n\n- https://rnfirebase.io/docs/v5.x.x/installation/initial-setup\n\n- https://rnfirebase.io/docs/v5.x.x/installation/android\n\n- https://rnfirebase.io/docs/v5.x.x/messaging/android\n\n- https://rnfirebase.io/docs/v5.x.x/notifications/android\n\n## Send notification request example for api\n\n### Path(POST): https://fcm.googleapis.com/fcm/send\n\n    + Headers\n\n            {\n                \"Content-Type\": \"application/json\",\n                \"Authorization\": \"key=AAAA39to........\"\n            }\n\n\n    + Content\n\n            {\n                \"to\": \"****\",\n                \"data\":{\n                    \"channel_id\":\"fcm_call_channel\",\n                    \"title\": \"Incoming call\",\n                    \"body\": \"Alex is calling\",\n                    //you can add custom key values here\n                },\n                \"priority\": high,\n                \"topic\":all\n            }\n\n### Request detail: https://firebase.google.com/docs/cloud-messaging/http-server-ref\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1bitcrack3r%2Frnfirebasecallnotifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x1bitcrack3r%2Frnfirebasecallnotifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x1bitcrack3r%2Frnfirebasecallnotifications/lists"}