{"id":19614859,"url":"https://github.com/leancloud/leancloud-smsdemo-ios","last_synced_at":"2025-06-20T10:34:56.058Z","repository":{"id":34480231,"uuid":"38418955","full_name":"leancloud/leancloud-smsdemo-ios","owner":"leancloud","description":"LeanCloud SMS Demo","archived":false,"fork":false,"pushed_at":"2015-07-02T08:19:02.000Z","size":204,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-28T02:36:15.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/leancloud.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":"2015-07-02T07:52:34.000Z","updated_at":"2019-12-26T23:47:29.000Z","dependencies_parsed_at":"2022-09-14T09:01:02.138Z","dependency_job_id":null,"html_url":"https://github.com/leancloud/leancloud-smsdemo-ios","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leancloud/leancloud-smsdemo-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Fleancloud-smsdemo-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Fleancloud-smsdemo-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Fleancloud-smsdemo-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Fleancloud-smsdemo-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leancloud","download_url":"https://codeload.github.com/leancloud/leancloud-smsdemo-ios/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leancloud%2Fleancloud-smsdemo-ios/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260927234,"owners_count":23083982,"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-11T10:54:17.546Z","updated_at":"2025-06-20T10:34:51.045Z","avatar_url":"https://github.com/leancloud.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# leancloud-smsdemo-iOS\n\nLeanCloud SMS Demo 是 [LeanCloud](https://leancloud.cn) 开源的一个短信 demo 程序，支持的功能如下图所示：\n\n![image](images/Screen.png)\n\nLeanCloud 短信服务目前可以提供：\n\n* 发送简单的文本验证码\n* 按照自定义模版发送复杂的文本短信（验证码和非验证码都支持）\n* 发送语音验证码\n* 与账号系统相关的一些功能，譬如：\n  * 手机号＋验证码注册\n  * 手机号＋验证码登录\n  * 手机号＋验证码重置密码\n\n具体内容可以参考文档[LeanCloud 短信验证 API](https://leancloud.cn/docs/rest_sms_api.html)\n\n## 如何贡献\n你可以通过提 issue 或者发 pull request 的方式，来贡献代码。开源世界因你我参与而更加美好。\n\n## 项目结构\n整个 repo 结构如下：\n\n```\n.\n├── Podfile          \u003c---- 由 cocoapods 管理的编译依赖\n├── LeanCloudDemoTests\n├── LeanCloudDemo    \u003c---- demo 主要代码\n└── README.md\n```\n\n## 如何运行 demo\n\n* 在根目录下，执行 `pod update` 来自动解决编译依赖；\n* 在根目录下，执行 `open LeanCloudSMSDemo.xcworkspace` 命令，打开工程\n* 修改 AppDelegate.m 文件中的如下代码行（使用你应用的 appId/appKey 来替换下面的初始化语句）：\n\n```\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n    // Override point for customization after application launch.\n    [AVOSCloud setApplicationId:@\"yourAppId\"\n                      clientKey:@\"yourAppKey\"];\n\n    return YES;\n}\n```\n\n## 其他问题\n暂无\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Fleancloud-smsdemo-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleancloud%2Fleancloud-smsdemo-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleancloud%2Fleancloud-smsdemo-ios/lists"}