{"id":19775470,"url":"https://github.com/rishabh115/sendotp","last_synced_at":"2026-05-01T06:32:36.584Z","repository":{"id":201290406,"uuid":"242959156","full_name":"rishabh115/SendOTP","owner":"rishabh115","description":"A minimal Nexmo-based OTP sending Android app built using (MVVM + Dagger2 + Retrofit) clean architecture. Written in Kotlin.","archived":false,"fork":false,"pushed_at":"2020-10-02T07:04:49.000Z","size":695,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T17:03:15.046Z","etag":null,"topics":["android","android-mvvm","clean-architecture","dagger2","kotlin","mvvm","nexmo","nexmo-api","nexmo-sms","retrofit2","room","stetho"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/rishabh115.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,"governance":null}},"created_at":"2020-02-25T09:22:39.000Z","updated_at":"2024-05-13T20:08:52.000Z","dependencies_parsed_at":"2024-03-21T00:45:40.815Z","dependency_job_id":null,"html_url":"https://github.com/rishabh115/SendOTP","commit_stats":null,"previous_names":["rishabh115/sendotp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishabh115/SendOTP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh115%2FSendOTP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh115%2FSendOTP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh115%2FSendOTP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh115%2FSendOTP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabh115","download_url":"https://codeload.github.com/rishabh115/SendOTP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh115%2FSendOTP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["android","android-mvvm","clean-architecture","dagger2","kotlin","mvvm","nexmo","nexmo-api","nexmo-sms","retrofit2","room","stetho"],"created_at":"2024-11-12T05:16:19.577Z","updated_at":"2026-05-01T06:32:36.566Z","avatar_url":"https://github.com/rishabh115.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SendOTP\n\nSendOTP is an application that uses Nexmo under the hoods to send OTP, currently generated randomly,\nto any contacts. It uses MVVM architecture as recommended by Google. Kotlin has been used as the\nprimary language for writing the project.\n\n## Screenshots\n\u003cdiv style=\"display:flex;\" \u003e\n  \u003cimg  src=\"onboarding.gif\" width=\"50%\" \u003e\n\u003c/div\u003e\n\n## Getting Started\n\n_Follow these instructions to build and run the project_\n\n1. Clone this repository.\n2. Download the appropriate [JDK](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\nfor your system. We are currently on JDK 8.\n3. [Install Android Studio](https://developer.android.com/sdk/index.html).\n4. Import the project. Open Android Studio, click `Open an existing Android\n   Studio project` and select the project. Gradle will build the project.\n5. Get your API_KEY and API_SECRET by creating an account on [Nexmo developer portal](https://developer.nexmo.com/).\n6. Use those values in ```Constants.kt``` file.\n7. Build the project.\n5. Run the app. Click `Run \u003e Run 'app'`. After the project builds you'll be\n   prompted to build or launch an emulator.\n\nFollowing are the important points I kept in mind while developing the project:-\n1) Followed standard naming convention for Kotlin's variable and XML widget ids.\n2) Tried to maximise separation of concern by setting boundaries viz. ui, util, api, data and base\n   subpackages.\n3) Documented the code wherever necessary.\n4) Base activity and base fragment for ensuring that any future changes can be easily blended in the\n   app.\n5) All the constants are in Constants.kt file.\n6) Focused more on adaptable, modular, reusability and testable architecture rather than revamping\n   the UI.\n7) UI is minimal, monochrome and easy-to-understand interface metaphor.\n8) Tried to keep third-party libraries to minimal (Retrofit, Stetho and CircleImageView).\n9) I have tried and tested via mine Nexmo credentials. Please consider replacing it with yours, if any\n   issue occurs with my credentials(like whitelisting any contacts).\n10) Added validation for phone number.\n11) You can add your own dummy contacts in contacts.json for testing various corner cases.\n12) Minimum use of idiomatic Kotlin to improve readability.\n13) Initial development cost of MVVM architecture is high for simple projects, but it facilitates\n    smooth growth and adaptability over time.\n14) Someone with basic knowledge of Kotlin and MVVM pattern can understand this code.\n15) As Stetho has been integrated, you can open Chrome to inspect local db.\n16) UI components are completely free of any business logic.\n17) No hardcoding in XML.\n18) UI are completely scalable across any form-factor of smart-phones.\n\nTested on:\nNokia 8.1(Android 10 OS)\n\nDevelopment enviroment:\nAndroid Studio 3.5.0\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh115%2Fsendotp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabh115%2Fsendotp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh115%2Fsendotp/lists"}