{"id":16795151,"url":"https://github.com/mehcode/rn-notification","last_synced_at":"2025-10-14T15:40:31.530Z","repository":{"id":149888351,"uuid":"66503308","full_name":"mehcode/rn-notification","owner":"mehcode","description":"React Native Cross-Platform Remote and Local Notifications","archived":false,"fork":false,"pushed_at":"2019-06-03T21:27:48.000Z","size":33,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T00:02:35.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mehcode.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":"2016-08-24T22:07:56.000Z","updated_at":"2019-06-03T21:27:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"613df72f-3c3f-4b10-ab08-fb65634063cd","html_url":"https://github.com/mehcode/rn-notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mehcode/rn-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Frn-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Frn-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Frn-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Frn-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehcode","download_url":"https://codeload.github.com/mehcode/rn-notification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehcode%2Frn-notification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019345,"owners_count":26086711,"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-10-14T02:00:06.444Z","response_time":60,"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":[],"created_at":"2024-10-13T09:15:32.085Z","updated_at":"2025-10-14T15:40:31.502Z","avatar_url":"https://github.com/mehcode.png","language":"Java","readme":"# React Native Notification\n\u003e React Native Cross-Platform Remote and Local Notifications\n\n## Features\n * Local (from JavaScript)\n * Remote (from Push API)\n * 100% Support for all Application States (background, foreground, killed, etc.)\n * Supports FCM (which can be used with GCM API)\n\n## Install\n\n```sh\n$ npm i rn-notification --save\n$ react-native link rn-notification\n```\n\n## Configure\n\n - [Android](./docs/android.md)\n - [iOS](./docs/ios.md)\n\n## Usage\n\n### Create (Local)\nCreate local notification.\n\n```js\nimport Notification from \"rn-notification\";\n\nNotification.create({\n  subject: \"Biltong\",\n  message: \"Bacon ipsum dolor amet corned beef biltong picanha sirloin rump tail tongue, jowl kevin ham hock strip steak pastrami kielbasa.\",\n  priority: \"high\",\n  color: \"#DE3226\",\n  sound: \"alert\",\n  smallIcon: \"ic_launcher\",\n  payload: {\n    random: Math.random(),\n  }\n});\n```\n\n### Action (Local and Remote)\nRespond to taps from a remote or local notification.\n\nThe callback is invoked regardless of where the notification came\nfrom (remote or local) or what state the\napplication is in when it received the\nnotification (dead, background, foreground).\n\n```js\nimport Notification from \"rn-notification\";\n\nNotification.on(\"press\", (token) =\u003e {\n  // Invoked when notification is pressed regardless of when it is\n  // pressed (foreground, background, in space, etc.)\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehcode%2Frn-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehcode%2Frn-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehcode%2Frn-notification/lists"}