{"id":23131179,"url":"https://github.com/friendlycaptcha/friendly-captcha-ios","last_synced_at":"2025-04-04T07:27:33.822Z","repository":{"id":265519946,"uuid":"877869869","full_name":"FriendlyCaptcha/friendly-captcha-ios","owner":"FriendlyCaptcha","description":"iOS SDK for Friendly Captcha","archived":false,"fork":false,"pushed_at":"2024-12-03T01:43:50.000Z","size":650,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T06:02:54.984Z","etag":null,"topics":["captcha","friendly-captcha","ios-sdk","library","sdk","sdk-ios"],"latest_commit_sha":null,"homepage":"https://friendlycaptcha.github.io/friendly-captcha-ios/documentation/friendlycaptcha","language":"Swift","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/FriendlyCaptcha.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-24T11:41:41.000Z","updated_at":"2024-12-03T01:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"71a2f1d6-37c9-4841-ad19-850cb219152b","html_url":"https://github.com/FriendlyCaptcha/friendly-captcha-ios","commit_stats":null,"previous_names":["friendlycaptcha/friendly-captcha-ios"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendlyCaptcha%2Ffriendly-captcha-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendlyCaptcha%2Ffriendly-captcha-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendlyCaptcha%2Ffriendly-captcha-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendlyCaptcha%2Ffriendly-captcha-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendlyCaptcha","download_url":"https://codeload.github.com/FriendlyCaptcha/friendly-captcha-ios/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247137646,"owners_count":20889906,"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":["captcha","friendly-captcha","ios-sdk","library","sdk","sdk-ios"],"created_at":"2024-12-17T11:12:14.433Z","updated_at":"2025-04-04T07:27:33.809Z","avatar_url":"https://github.com/FriendlyCaptcha.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Friendly Captcha iOS SDK\n[![Cocoapods Version](https://img.shields.io/cocoapods/v/FriendlyCaptcha)](https://cocoapods.org/pods/FriendlyCaptcha) [![Cocoapods Platforms](https://img.shields.io/cocoapods/p/FriendlyCaptcha)](https://cocoapods.org/pods/FriendlyCaptcha) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\nThe Friendly Captcha iOS SDK allows you to easily integrate [Friendly Captcha](https://friendlycaptcha.com) into your iOS applications.\n\n\u003eThis SDK is for **Friendly Captcha v2**.\n\n## Installation\n\nThis SDK is available via CocoaPods and Carthage. You can find the latest version number on the [Releases](https://github.com/FriendlyCaptcha/friendly-captcha-ios/releases) page.\n\n### CocoaPods\n\nAdd the following line to your Podfile:\n\n```\npod 'FriendlyCaptcha', '~\u003e 1.0.0'\n```\n\n### Carthage\n\nAdd the following line to your Cartfile:\n\n```\ngithub \"FriendlyCaptcha/friendly-captcha-ios\" ~\u003e 1.0.0\n```\n\n## Documentation\n\nThe full API reference for the SDK is available [here](https://friendlycaptcha.github.io/friendly-captcha-ios/documentation/friendlycaptcha).\n\n## Supported Platforms\n\nThis SDK has been successfully built and run targeting **iOS 10**. On CocoaPods, it has been successfully packaged with a minimum target of **iOS 9**. Theoretically, it should be fully functional as far back as **iOS 8**, but due to tooling constraints, support for versions earlier than iOS is offered on a \"best effort\" basis.\n\nIf you have trouble with the above installation methods, it should be possible to simply copy [the Swift files in `FriendlyCaptcha/Classes`](https://github.com/FriendlyCaptcha/friendly-captcha-ios/tree/main/FriendlyCaptcha/Classes) into your (\u003e= iOS 8) project.\n\n## Usage\n\nThis repository contains 3 minimal example apps to show how to integrate Friendly Captcha. For more information, including about how to run them locally, see [the README in the Example folder](https://github.com/FriendlyCaptcha/friendly-captcha-ios/tree/main/Example).\n\n### Testing\n\nTests for the SDK are located [in the `Example` directory](https://github.com/FriendlyCaptcha/friendly-captcha-ios/tree/main/Example/Tests). This appears to be [an artifact of how CocoaPods structures a library](https://github.com/CocoaPods/CocoaPods/issues/4755#issuecomment-170940549).\n\nIf running the tests in Xcode, make sure that the `Example_UIKit` scheme is selected. You can also run the tests from the command line:\n\n```\nxcodebuild \\\n  -workspace Example/FriendlyCaptcha.xcworkspace \\\n  -scheme Example_UIKit \\\n  test \\\n    -sdk iphonesimulator \\\n    -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.0'\n```\n\nDepending on which simulators you have installed, you may need to change the version numbers in the `-destination` argument. You can pipe the output into [`xcbeautify`](https://github.com/cpisciotta/xcbeautify), if it's available.\n\n## Screenshots\n\n\u003cp float=\"left\"\u003e\n  \u003cimg width=\"45%\" alt=\"An example disabled login page with Friendly Captcha\" src=\"https://raw.githubusercontent.com/FriendlyCaptcha/friendly-captcha-ios/main/screenshots/disabled.png\" /\u003e\n  \u003cimg width=\"45%\" alt=\"An example enabled login page with Friendly Captcha\" src=\"https://raw.githubusercontent.com/FriendlyCaptcha/friendly-captcha-ios/main/screenshots/enabled.png\" /\u003e\n\u003c/p\u003e\n\n## License\n\nThis is free software; you can redistribute it and/or modify it under the terms of the [Mozilla Public License Version 2.0](https://github.com/FriendlyCaptcha/friendly-captcha-ios/blob/main/Example/LICENSE).\n\nAll examples are released under the [MIT license](https://github.com/FriendlyCaptcha/friendly-captcha-ios/blob/main/FriendlyCaptcha/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlycaptcha%2Ffriendly-captcha-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendlycaptcha%2Ffriendly-captcha-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlycaptcha%2Ffriendly-captcha-ios/lists"}