{"id":18825371,"url":"https://github.com/outsystems/oscore-ios","last_synced_at":"2025-07-29T00:34:08.122Z","repository":{"id":62843095,"uuid":"400472550","full_name":"OutSystems/OSCore-iOS","owner":"OutSystems","description":"Library for iOS","archived":false,"fork":false,"pushed_at":"2024-04-18T10:46:31.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-06-28T05:46:25.278Z","etag":null,"topics":["engineering","odc","snyk-mobile","ssdlc-rules"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/OutSystems.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-08-27T10:29:23.000Z","updated_at":"2024-03-05T10:15:07.000Z","dependencies_parsed_at":"2025-05-22T12:26:39.835Z","dependency_job_id":null,"html_url":"https://github.com/OutSystems/OSCore-iOS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/OutSystems/OSCore-iOS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2FOSCore-iOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2FOSCore-iOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2FOSCore-iOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2FOSCore-iOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OutSystems","download_url":"https://codeload.github.com/OutSystems/OSCore-iOS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OutSystems%2FOSCore-iOS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267610431,"owners_count":24115435,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["engineering","odc","snyk-mobile","ssdlc-rules"],"created_at":"2024-11-08T00:59:14.789Z","updated_at":"2025-07-29T00:34:08.095Z","avatar_url":"https://github.com/OutSystems.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift protocol for stack agnostic plugin implementation\n\n## Index\n\n\u003c!-- MarkdownTOC levels=\"2\" autolink=\"true\" --\u003e\n\n- [Motivation](#motivation)\n- [Supported Platforms](#supported-platforms)\n- [Usage](#usage)\n- [Methods](#methods)\n\n\u003c!-- /MarkdownTOC --\u003e\n\n## Motivation\n\nThis repository contains a protocol that interfaces business logic with iOS platform.\n\nDevelopers are able to create their own integrations of `PlatformProtocol` for their target mobile framework.\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"/assets/dependencies.png\"\u003e\n\u003c/div\u003e\n\nThis structure allows us to develop native plugins, portable between techonological stacks (ie: Cordova, React-native, Flutter...)\n\n## Supported Platforms\n- iOS\n \n## Usage\n\n1. Include the `POD_NAME` pod in your project.\n\n2. Create an extension that implements `PlatformProtocol`.\n```swift\nextension CordovaInterface: PlatformProtocol {\n    func sendResult(result: String?, error: NSError?, callBackID: String) {\n        // ... processes and sends a response back to Cordova\n    }\n    \n    func trigger(event: String, data: String) {\n        // ... triggers an event on the Cordova webview \n    }\n}\n```\n\n## Methods\n\n- `sendResult(result: String?, error: NSError?, callBackID: String)` will send messages back to the mobile framework.\n\n- `trigger(event: String, data: String)` will trigger an event on the mobile framework's webview.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutsystems%2Foscore-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutsystems%2Foscore-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutsystems%2Foscore-ios/lists"}