{"id":19938638,"url":"https://github.com/sectore/phonegap3-native-ios-plugin","last_synced_at":"2025-05-03T14:32:19.071Z","repository":{"id":9708009,"uuid":"11660436","full_name":"sectore/phonegap3-native-ios-plugin","owner":"sectore","description":"Example of a simple native iOS plugin for using PhoneGap 3","archived":false,"fork":false,"pushed_at":"2013-10-08T15:58:06.000Z","size":569,"stargazers_count":17,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T16:51:45.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sectore.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":"2013-07-25T12:58:38.000Z","updated_at":"2015-07-26T12:05:43.000Z","dependencies_parsed_at":"2022-07-08T00:50:43.028Z","dependency_job_id":null,"html_url":"https://github.com/sectore/phonegap3-native-ios-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-native-ios-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-native-ios-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-native-ios-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sectore%2Fphonegap3-native-ios-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sectore","download_url":"https://codeload.github.com/sectore/phonegap3-native-ios-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203332,"owners_count":21710944,"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-12T23:41:24.919Z","updated_at":"2025-05-03T14:32:18.731Z","avatar_url":"https://github.com/sectore.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example of a native iOS plugin for using PhoneGap 3.0.\n\n[PhoneGap 3.0 introduces](http://phonegap.com/blog/2013/07/19/adobe-phonegap-3.0-released/) a new plugin architecture. With this release any custom plugin can be installed \nby using [PhoneGap's CLI](https://github.com/mwbrooks/phonegap-cli) or [Cordova Plugman](https://github.com/apache/cordova-plugman/). \n\nFor a better understanding of the changes of PhoneGap 3.0 this repository provides a very simple native iOS plugin.\n\n## Screen shot\n\n[![screen shot](https://raw.github.com/sectore/phonegap3-native-ios-plugin/master/assets/phonegap3-native-ios-plugin-screenshot.png)](https://github.com/sectore/phonegap3-native-ios-plugin)\n\n## Installation\n\n- Make sure that you have [Node](http://nodejs.org/) and [PhoneGap CLI](https://github.com/mwbrooks/phonegap-cli) installed on your machine.\n\n- Create your PhoneGap example app\n\n```bash\nphonegap create my-plugin-example-app \u0026\u0026 cd $_\n```\n\n- Add the plugin to it\n\n```bash\nphonegap local plugin add https://github.com/sectore/phonegap3-native-ios-plugin\n```\n\n- Open `index.html and add a button\n\n```html\n\u003cbutton onclick=\"myPlugin.sayHello();\"\u003eSay hello to your plugin!\u003c/button\u003e\n```\n\n- Register plugin within `config.xml` of your app\n\n```xml\n\u003cfeature name=\"MyPlugin\"\u003e\n    \u003cparam name=\"ios-package\" value=\"MyPlugin\" /\u003e\n\u003c/feature\u003e\n```\n\n- Build and run app\n\n```bash\nphonegap run ios\n```\n\n## Author\nJens Krause // [WEBSECTOR.DE](http://www.websector.de)\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sectore/phonegap3-native-ios-plugin/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Fphonegap3-native-ios-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsectore%2Fphonegap3-native-ios-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsectore%2Fphonegap3-native-ios-plugin/lists"}