{"id":20187460,"url":"https://github.com/wordpress-mobile/emailchecker-android","last_synced_at":"2025-03-03T07:11:28.694Z","repository":{"id":143101906,"uuid":"54962011","full_name":"wordpress-mobile/EmailChecker-Android","owner":"wordpress-mobile","description":"Email checking library for Android","archived":false,"fork":false,"pushed_at":"2021-12-03T03:49:29.000Z","size":106,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":23,"default_branch":"trunk","last_synced_at":"2025-01-13T18:23:01.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wordpress-mobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-GPL","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-03-29T09:11:25.000Z","updated_at":"2022-11-25T05:57:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b2ab660-7037-483c-9c09-97cf744a8594","html_url":"https://github.com/wordpress-mobile/EmailChecker-Android","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/wordpress-mobile%2FEmailChecker-Android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FEmailChecker-Android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FEmailChecker-Android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2FEmailChecker-Android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wordpress-mobile","download_url":"https://codeload.github.com/wordpress-mobile/EmailChecker-Android/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622613,"owners_count":19992504,"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":[],"created_at":"2024-11-14T03:24:04.393Z","updated_at":"2025-03-03T07:11:28.654Z","avatar_url":"https://github.com/wordpress-mobile.png","language":"Kotlin","readme":"# Email Checker for Android\n\n## Introduction\n\nThis library helps to catch simple email domain typos. Its intended to\nbe used as a hint when a user have to enter an email address.\n\nThe library is written in Kotlin and is inspired by the algorithm\ndescribed here: http://norvig.com/spell-correct.html (Warning, it's\nnot the exact same algo).\n\n## How to use it in an Android project\n\nIf you want to use it in your Android project, your can add it as a\nlibrary in your build.gradle file, don't forget to add the\nwordpress-mobile maven repository. For instance:\n\n```gradle\ndependencies {\n    // use the latest version\n    compile 'org.wordpress:emailchecker2:+'\n}\n```\n\nSample usage in Java:\n\n```java\nString emailToCheck = \"salut@gmial.com\";\nString suggestion = EmailCheckerKt.suggestDomainCorrection(emailToCheck);\nif (suggestion.compareTo(email) != 0) {\n    Log.v(\"MYAPP\", \"did you mean: \" + suggestion + \" ?\");\n}\n```\n\nSample usage in Kotlin:\n\n```kotlin\nval emailToCheck = \"salut@gmial.com\";\nval suggestion = suggestDomainCorrection(emailToCheck)\nif (suggestion != emailToCheck) {\n    Log.v(\"MYAPP\", \"did you mean: \" + suggestion + \" ?\");      \n}\n```\n\n## Hack it\n\n### Directory structure\n\n```\n|-- example                 # Example App\n`-- emailchecker            # EmailChecker Library\n```\n\n### Build\n\n* Build:\n\n```\n$ ./gradlew build\n```\n\n* Publish to bintray:\n\n```\n$ ./gradlew build bintrayUpload -PbintrayUser=XXX -PbintrayKey=XXX -PdryRun=false\n```\n\n## LICENSE\n\nThis library is dual licensed unded MIT and GPL v2.\n\n\n## CHANGELOG\n\n### 1.0.0\n\n* Initial release\n\n\n[1]: https://github.com/wordpress-mobile/WordPress-Android\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Femailchecker-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress-mobile%2Femailchecker-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Femailchecker-android/lists"}