{"id":18333126,"url":"https://github.com/candycoded/alertconfirmdialog","last_synced_at":"2025-04-09T18:43:47.892Z","repository":{"id":57402608,"uuid":"337636688","full_name":"CandyCoded/AlertConfirmDialog","owner":"CandyCoded","description":"⚠️ Display simple alert and confirm dialogs on both iOS and Android.","archived":false,"fork":false,"pushed_at":"2021-03-14T06:50:12.000Z","size":16,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-09T04:34:11.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/CandyCoded.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":null,"security":null,"support":null}},"created_at":"2021-02-10T06:24:59.000Z","updated_at":"2022-10-28T09:50:52.000Z","dependencies_parsed_at":"2022-09-26T17:01:07.002Z","dependency_job_id":null,"html_url":"https://github.com/CandyCoded/AlertConfirmDialog","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CandyCoded%2FAlertConfirmDialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CandyCoded%2FAlertConfirmDialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CandyCoded%2FAlertConfirmDialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CandyCoded%2FAlertConfirmDialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CandyCoded","download_url":"https://codeload.github.com/CandyCoded/AlertConfirmDialog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248090582,"owners_count":21046114,"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-05T19:41:23.405Z","updated_at":"2025-04-09T18:43:47.865Z","avatar_url":"https://github.com/CandyCoded.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlertConfirmDialog\n\n\u003e ⚠️ Display simple alert and confirm dialogs on both iOS and Android.\n\n[![npm](https://img.shields.io/npm/v/xyz.candycoded.alertconfirmdialog)](https://www.npmjs.com/package/xyz.candycoded.alertconfirmdialog)\n\n## Installation\n\n### Unity Package Manager\n\n\u003chttps://docs.unity3d.com/Packages/com.unity.package-manager-ui@2.0/manual/index.html\u003e\n\n#### Git\n\n```json\n{\n  \"dependencies\": {\n    \"xyz.candycoded.alertconfirmdialog\": \"https://github.com/CandyCoded/alertconfirmdialog.git#v1.0.1\",\n    ...\n  }\n}\n```\n\n#### Scoped UPM Registry\n\n```json\n{\n  \"dependencies\": {\n    \"xyz.candycoded.alertconfirmdialog\": \"1.0.1\",\n    ...\n  },\n  \"scopedRegistries\": [\n    {\n      \"name\": \"candycoded\",\n      \"url\": \"https://registry.npmjs.com\",\n      \"scopes\": [\"xyz.candycoded\"]\n    }\n  ]\n}\n```\n\n# Usage\n\nFirst include the package.\n\n```csharp\nusing CandyCoded.AlertConfirmDialog;\n```\n\n### Alert\n\n```csharp\nAlertConfirmDialog.Alert(\"Title\", \"Message\");\n```\n\n```csharp\nAlertConfirmDialog.Alert(\"Title\", \"Message\", () =\u003e\n{\n\n    Debug.Log(\"Ok\");\n\n});\n```\n\n### Confirm\n\n```csharp\nAlertConfirmDialog.Confirm(\"Title\", \"Message\");\n```\n\n```csharp\nAlertConfirmDialog.Confirm(\"Title\", \"Message\", () =\u003e\n{\n\n    Debug.Log(\"Ok\");\n\n});\n```\n\n```csharp\nAlertConfirmDialog.Confirm(\"Title\", \"Message\", () =\u003e\n{\n\n    Debug.Log(\"Ok\");\n\n}, () =\u003e\n{\n\n    Debug.Log(\"Cancel\");\n\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandycoded%2Falertconfirmdialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcandycoded%2Falertconfirmdialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcandycoded%2Falertconfirmdialog/lists"}