{"id":3572,"url":"https://github.com/kaiwinter/android-remote-notifications","last_synced_at":"2026-01-12T09:33:17.848Z","repository":{"id":57720693,"uuid":"37826137","full_name":"kaiwinter/android-remote-notifications","owner":"kaiwinter","description":"Pulls notifications from a remote JSON file and shows them in your app.","archived":false,"fork":false,"pushed_at":"2018-06-23T17:41:15.000Z","size":205,"stargazers_count":103,"open_issues_count":1,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-08-03T20:48:21.945Z","etag":null,"topics":["android","notifications"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/kaiwinter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-21T21:10:17.000Z","updated_at":"2025-06-19T23:07:36.000Z","dependencies_parsed_at":"2022-09-26T21:41:07.343Z","dependency_job_id":null,"html_url":"https://github.com/kaiwinter/android-remote-notifications","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/kaiwinter/android-remote-notifications","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwinter%2Fandroid-remote-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwinter%2Fandroid-remote-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwinter%2Fandroid-remote-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwinter%2Fandroid-remote-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaiwinter","download_url":"https://codeload.github.com/kaiwinter/android-remote-notifications/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiwinter%2Fandroid-remote-notifications/sbom","scorecard":{"id":547846,"data":{"date":"2025-08-11","repo":{"name":"github.com/kaiwinter/android-remote-notifications","commit":"16ba368b4ff05f5054ce0703dd9f3c2329298557"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/kaiwinter/android-remote-notifications/releases/1496611","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/kaiwinter/android-remote-notifications/releases/1461949","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/kaiwinter/android-remote-notifications/releases/1496611","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/kaiwinter/android-remote-notifications/releases/1461949"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-20T09:59:23.145Z","repository_id":57720693,"created_at":"2025-08-20T09:59:23.156Z","updated_at":"2025-08-20T09:59:23.156Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","notifications"],"created_at":"2024-01-05T20:16:45.288Z","updated_at":"2026-01-12T09:33:17.826Z","avatar_url":"https://github.com/kaiwinter.png","language":"Java","funding_links":[],"categories":["Notifications","Libraries"],"sub_categories":["Notifications"],"readme":"[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-android--remote--notifications-green.svg?style=flat)](https://android-arsenal.com/details/1/2058)\n# android-remote-notifications\nA Google GCM/Amazon SNS alternative using pull instead of push.\n## Main features\n- Independent user notifications (no Google GCM or Amazon SNS), just put a JSON file in the cloud\n- Framework will update available notifications automatically in defined time intervals (`now`, `daily`, `weekly`, `bi-weekly`, `monthly`)\n- Flexible parameters:\n  - start date for notification (distribute early, show later)\n  - amount of times the notification should be shown\n  - interval between showing notifications (`always`, `every day`, `every week`, `every month`)\n  - specify on which app version (`versionCode`) the notification should be shown\n- Show notifications as `AlertDialog` or `Toast` message (defined by the remote JSON file)\n  - `AlertDialog`: Specify button captions and actions: `Open Store`-Action, `Open URL`-Action, `Exit App`-Action, all defined by a JSON file on your server\n- perfect to inform your users about discounts on one of your other apps or premium version\n- pro tip: as some users don't always update to the latest app versions you should integrate this framework in an early phase if you plan to use it at a later time.\n\n## Download\nGradle:\n```groovy\nimplementation ('com.github.kaiwinter:android-remote-notifications:1.1.5@aar') {\n    transitive = true\n}\n```\n\n## Demo:\n- [Demo App](https://github.com/kaiwinter/android-remote-notifications/releases/download/v1.1.0/remotenotifications-example-1.1.0.apk)\n- Live Demo: [Appetize.io](https://appetize.io/app/efkur5jaxuztahp6wtc5n65x74)\n\n## How to integrate\nYou can find the source code of the example app here: [MainActivity](https://github.com/kaiwinter/android-remote-notifications/blob/master/example/src/main/java/com/github/kaiwinter/androidremotenotifications/example/MainActivity.java)\n### The easy way\n- Call `RemoteNotifications.start(context, url, UpdatePolicy.NOW);` in your `onCreate()` or `onResume()` method\n\nthis will\n- start an update of the notifications (use `UpdatePolicy.WEEKLY` in production environment to update once a week)\n- show due notifications to the user\n \n### For more control\n```java\nRemoteNotifications rn = new RemoteNotifications(context, url);\nrn.updateNotifications(UpdatePolicy.NOW);\nrn.showNotifications(); // if update still runs, event will be queued and carried out later\n\n// -or, register a listener on update completion-\nrn.updateNotifications(UpdatePolicy.NOW, finishListener);\n```\n\n## How to build a JSON notification file\nFirst: You don´t have to write the JSON file by hand. Just use the API to initialize a Notification object and then create JSON from it: [NotificationCreatorUtil ](https://github.com/kaiwinter/android-remote-notifications/blob/master/notification-creator-util/src/main/java/com/github/kaiwinter/androidremotenotifications/util/NotificationCreatorUtil.java)\n### Example of a Toast Notification\n```\n[\n  {\n    \"type\": \"ToastNotification\",\n    \"notificationConfiguration\": {\n      \"startShowingDate\": null,\n      \"executionPolicy\": \"ALWAYS\",\n      \"numberOfTotalViews\": null,\n      \"versionCodePolicy\": null\n    },\n    \"message\": \"This is a Toast Notification\",\n    \"duration\": 1\n  }\n]\n```\n### Example of an AlertDialog Notification\n```\n[\n  {\n    \"type\": \"AlertDialogNotification\",\n    \"notificationConfiguration\": {\n      \"startShowingDate\": null,\n      \"executionPolicy\": \"ALWAYS\",\n      \"numberOfTotalViews\": null,\n      \"versionCodePolicy\": null\n    },\n    \"title\": \"Title\",\n    \"message\": \"This is an AlertDialog notification\",\n    \"negativeButtonText\": \"Exit App\",\n    \"neutralButtonText\": \"Open web page\",\n    \"positiveButtonText\": \"Open Play Store\",\n    \"positiveButtonAction\": {\n      \"type\": \"OpenStoreButtonAction\",\n      \"packageName\": \"de.vorlesungsfrei.taekwondo.ads\"\n    },\n    \"negativeButtonAction\": {\n      \"type\": \"ExitAppButtonAction\"\n    },\n    \"neutralButtonAction\": {\n      \"type\": \"OpenUrlButtonAction\",\n      \"link\": \"https://github.com/kaiwinter/android-remote-notifications\"\n    },\n    \"modal\": false\n  }\n]\n```\n\n## Screenshots\n![Preview](http://i.imgur.com/Hp1aowm.png)\n\n## License\n     Copyright 2018 Kai Winter\n     \n     Licensed under the Apache License, Version 2.0 (the \"License\");\n     you may not use this file except in compliance with the License.\n     You may obtain a copy of the License at\n     \n         http://www.apache.org/licenses/LICENSE-2.0\n     \n     Unless required by applicable law or agreed to in writing, software\n     distributed under the License is distributed on an \"AS IS\" BASIS,\n     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n     See the License for the specific language governing permissions and\n     limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiwinter%2Fandroid-remote-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaiwinter%2Fandroid-remote-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiwinter%2Fandroid-remote-notifications/lists"}