{"id":20428862,"url":"https://github.com/mhashim6/rateconditionsmonitor","last_synced_at":"2026-04-15T23:31:50.790Z","repository":{"id":133665823,"uuid":"141730054","full_name":"mhashim6/RateConditionsMonitor","owner":"mhashim6","description":"Android rating library that leaves the the UI customization on the developer.","archived":false,"fork":false,"pushed_at":"2019-10-06T15:16:42.000Z","size":138,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T05:30:23.356Z","etag":null,"topics":["android","app-rating","kotlin-android","library","rate"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/mhashim6.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":"2018-07-20T15:41:42.000Z","updated_at":"2019-10-06T15:16:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"761e731f-6ac0-41ff-b9c0-60c423f6e994","html_url":"https://github.com/mhashim6/RateConditionsMonitor","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mhashim6/RateConditionsMonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2FRateConditionsMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2FRateConditionsMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2FRateConditionsMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2FRateConditionsMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhashim6","download_url":"https://codeload.github.com/mhashim6/RateConditionsMonitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhashim6%2FRateConditionsMonitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265960042,"owners_count":23855810,"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","app-rating","kotlin-android","library","rate"],"created_at":"2024-11-15T07:29:03.739Z","updated_at":"2025-10-06T16:39:31.962Z","avatar_url":"https://github.com/mhashim6.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# RateConditionsMonitor\nThere are several libraries for rating, but all of them force using AlertDialog, and leaves no area for customization; as it doesn't expose it's internal conditions-checking-api.\n\n This library does just that: a rating-conditions-checking-api that leaves the UI part on the developer.\n\n [![](https://jitpack.io/v/mhashim6/RateConditionsMonitor.svg)](https://jitpack.io/#mhashim6/RateConditionsMonitor)\n\n## Usage:\n\ninitialize the library at a starting point in your app :\n\n```kotlin\nRateConditionsMonitor.init(context = this@MainActivity) {\n      applyConditions(launchTimes = 3, remindTimes = 7, debug = true)\n\n      //launchTimes: how many app launches it takes to ask for rating.\n      //remindTimes: how many app launches it takes to ask for rating after RateConditionsMonitor.later() is called.\n      //debug: if true: RateConditionsMonitor.isConditionsMet is also true.\n}\n```\n then in a check point in your app, check if conditions are met:\n\n```kotlin\nrate_btn.setOnClickListener {\n   if (RateConditionsMonitor.isConditionsMet)\n      alert {\n         title = \"test rate\"\n         yesButton {\n            //perform rating action here\n            RateConditionsMonitor.rated() //let the monitor know.        }\n/*      noButton {\n          RateConditionsMonitor.denied() //let the monitor know.\n         }*/\n         negativeButton(\"later\") {\n            RateConditionsMonitor.later() //let the monitor know.\n         }\n      }.show()\n}\n```\nMake sure to check the [sample](https://github.com/mhashim6/RateConditionsMonitor/blob/master/app/src/main/java/mhashim6/android/ratemonitorsample/MainActivity.kt).\n\n---\n\n## Dependency:\nAdd it in your root build.gradle at the end of repositories:\n\n```groovy\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\n**Step 2.**  Add the dependency\n\n```css\n\tdependencies {\n\t        implementation 'com.github.mhashim6:RateConditionsMonitor:v2.0'\n\t}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhashim6%2Frateconditionsmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhashim6%2Frateconditionsmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhashim6%2Frateconditionsmonitor/lists"}