{"id":28766849,"url":"https://github.com/tpmabdulkareem/push-notification-app","last_synced_at":"2026-04-05T23:02:21.849Z","repository":{"id":38905869,"uuid":"254030183","full_name":"tpmabdulkareem/Push-Notification-App","owner":"tpmabdulkareem","description":"A simple example for react native push notification","archived":false,"fork":false,"pushed_at":"2023-01-26T19:13:01.000Z","size":7943,"stargazers_count":1,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T12:05:28.168Z","etag":null,"topics":["android-sdk","android-studio","es6","javascript","notifications","npm","push-notifications","react","react-native","sdk-manager","yarn"],"latest_commit_sha":null,"homepage":null,"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/tpmabdulkareem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-08T08:32:57.000Z","updated_at":"2022-06-13T10:06:18.000Z","dependencies_parsed_at":"2023-02-14T22:00:37.261Z","dependency_job_id":null,"html_url":"https://github.com/tpmabdulkareem/Push-Notification-App","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tpmabdulkareem/Push-Notification-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpmabdulkareem%2FPush-Notification-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpmabdulkareem%2FPush-Notification-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpmabdulkareem%2FPush-Notification-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpmabdulkareem%2FPush-Notification-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpmabdulkareem","download_url":"https://codeload.github.com/tpmabdulkareem/Push-Notification-App/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpmabdulkareem%2FPush-Notification-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31452901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-sdk","android-studio","es6","javascript","notifications","npm","push-notifications","react","react-native","sdk-manager","yarn"],"created_at":"2025-06-17T12:05:26.604Z","updated_at":"2026-04-05T23:02:21.793Z","avatar_url":"https://github.com/tpmabdulkareem.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Push Notification in React Native | Android\n[\u003cimg src=\"https://github.com/tpmabdulkareem/Push-Notification-App/raw/master/Screenshot_1586341482.png\" width=\"250\"/\u003e](image.png)\n\nMy requirements were simple I needed to incorporate Local notifications that I could schedule to to appear at a later time for Android. I also needed these notifications to still display even if the app was closed. After some research I found that react-native-push-notification was my best bet. However, I found that this was a bit tricky to get up and running, but at long last I was successful. My struggle is your lucky day.\n\n## Preview\n[\u003cimg src=\"https://github.com/tpmabdulkareem/Push-Notification-App/raw/master/Scheduled%20Notifications.gif\" width=\"250\"/\u003e](image.png)\n\n\n## Libraries used\n\n- [React Native](https://github.com/facebook/react-native)\n\n\u003e A framework for building native apps with React.\n\n- [React-Native-Push-Notification](https://www.npmjs.com/package/react-native-push-notification)\n\n\u003e A NPM library for React Native Local and Remote Notifications for iOS and Android\n\n## Running the project\n\n- Clone this project\n```\ngit clone https://github.com/tpmabdulkareem/Push-Notification-App.git\n```\n\n- [Install NodeJS](https://nodejs.org/en/) on your computer.\n\n- [Install yarn](https://yarnpkg.com/en/docs/install) on your computer\n\u003e Yarn is a dependency manager built by facebook and google. It is a more efficient and reliable (thanks to yarn.lock) alternative of npm.\n\n- Launch ``` yarn ``` command in a terminal opened in the project folder.\n\u003e This command will look into the *package.json* file and install all the dependencies listed here.\n\n- Install react-native-cli globally on your computer\n```\nyarn global add react-native-cli\n```\n\n### Android steps\n\n- Launch a virtual android device [(through *Android Studio* for instance)](https://developer.android.com/studio/run/managing-avds.html#viewing)\n\n\u003e If you have never installed any android virtual device, [follow those instructions](https://developer.android.com/studio/run/managing-avds.html#createavd)\n\n- Then, run the project in executing on your project folder:\n\n```\nreact-native run-android\n```\n\n## Troubleshooting\n\n**Note:** Each time you pull commits from others, run the **yarn** command to install dependencies that may have been introduced.\n\n### react-native is not recognized as an internal or external command\n- If your terminal is telling you react-native is not known, try to install it globally with npm: ```npm install -g react-native-cli``` and re-run the above command.\n\n### 'adb' is not recognized as an internal or external command\n\nIf you have a build error with this message on Windows, it means that you must add the Android sdk platform tools to your environment PATH.\n\n[How to add an environment variable on your computer.](https://www.java.com/en/download/help/path.xml)\n\nMy value on windows: *```C:\\Users\\Manuel\\AppData\\Local\\Android\\sdk\\platform-tools```*\n\n### failed to find target with hash string 'android-23'\n\nReact Native needs this to be installed in order to work, and the default target installed by *Android Studio* is the 24th. To solve this issue, open android studio and click on SDK Manager Icon:\n\n![SDK Manager](https://i.snag.gy/bxQd0z.jpg)\n\nThen click on the line with API Level of value 23 and apply.\n\n![Install API 23 Instructions](https://i.snag.gy/LtYAR7.jpg)\n\n### failed to find Build Tools revision *XX.X.X*\n\nIt seems you are missing the build tools at specific revision *XX.X.X*, so you need to install them. Go to Android Studio SDK Settings (see images above) and click on the SDK Tools snippet.\n\nThen, click on **Show Package Details** and look for Android SDK Build Tools *XX.X.X*. Then check if it is installed. If not, install it and this issue should be solved then.\n\n![SDK Manager Standalone](https://i.snag.gy/Y3X58Z.jpg)\n\n### Execution failed for task ':app:dexDebug'\n\nGo into the **android** project's folder in your terminal and run\n\n*Windows*\n```\ngradlew clean\n```\n\n*Linux \u0026 Mac*\n```\n./gradlew clean\n```\n\nThen delete the build folder, go back to the project's root folder and try again, this error should be solved.\n\n\u003e **Note:** If it doesn't work as expected, try checking you have not forgotten any of the steps above. If not, please **open an issue and describe your problem**.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpmabdulkareem%2Fpush-notification-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpmabdulkareem%2Fpush-notification-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpmabdulkareem%2Fpush-notification-app/lists"}