{"id":17635965,"url":"https://github.com/ddfreiling/tns-plugin-pod-avplayer","last_synced_at":"2025-03-30T03:43:10.455Z","repository":{"id":145836814,"uuid":"91472908","full_name":"ddfreiling/tns-plugin-pod-avplayer","owner":"ddfreiling","description":"Test project for a Nativescript plugin which has a Podfile using AVPlayer","archived":false,"fork":false,"pushed_at":"2017-05-16T15:56:29.000Z","size":1967,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T06:14:24.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddfreiling.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-16T15:15:29.000Z","updated_at":"2017-05-16T15:29:13.000Z","dependencies_parsed_at":"2023-05-05T21:17:10.864Z","dependency_job_id":null,"html_url":"https://github.com/ddfreiling/tns-plugin-pod-avplayer","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/ddfreiling%2Ftns-plugin-pod-avplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Ftns-plugin-pod-avplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Ftns-plugin-pod-avplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Ftns-plugin-pod-avplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddfreiling","download_url":"https://codeload.github.com/ddfreiling/tns-plugin-pod-avplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273515,"owners_count":20750904,"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-10-23T02:24:59.607Z","updated_at":"2025-03-30T03:43:10.435Z","avatar_url":"https://github.com/ddfreiling.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Develop a NativeScript plugin\n\n## Getting started\n\n1. `git clone https://github.com/NathanWalker/nativescript-plugin-seed.git myplugin`\n2. `cd myplugin`\n3. `npm run postclone`\n4. `npm run setup`\n5. Get to work.\n\nThis seed expands on several things [presented here](http://developer.telerik.com/featured/creating-nativescript-plugins-in-typescript/).\n\n## Usage\n\nThe seed is prepared to allow you to test and try out your plugin via the `demo` folder.\nAdditionally it provides a proper `.gitignore` to keep GitHub tidy as well as `.npmignore` to ensure everyone is happy when you publish your plugin via npm.\n\n### Linking to CocoaPod or Android Arsenal plugins\n\nYou will want to create these folders and files in the root:\n\n```\nplatforms --\n  ios --\n    Podfile\n  android --\n    include.gradle\n```\n\nDoing so will open up those native apis to your plugin :)\n\nTake a look at these existing plugins for how that can be done very simply:\n\n* [nativescript-cardview](https://github.com/bradmartin/nativescript-cardview/tree/master/platforms)\n* [nativescript-floatingactionbutton](https://github.com/bradmartin/nativescript-floatingactionbutton/tree/master/platforms)\n\n### Typical development workflow:\n\n1. Make changes to plugin files\n2. Make changes in `demo` that would test those changes out\n3. `npm run demo.ios` or `npm run demo.android`  **(must be run from the root directory)**\n\nThose `demo` tasks are just general helpers. You may want to have more granular control on the device and/or emulator you want to run. For that, you can just run things the manual way:\n\n```\ncd demo\n\n// when developing, to ensure the latest code is built into the demo, it's a guarantee to remove the plugin and add it back\ntns plugin remove nativescript-tns-plugin-pod-avplayer\ntns plugin add ..\n\n// manual platform adds\ntns platform add ios\n// and/or\ntns platform add android\n```\n\nThen use any of the available options from the `tns` command line:\n\n* [Emulate your project](https://github.com/NativeScript/nativescript-cli#emulate-your-project)\n* [Run your project](https://github.com/NativeScript/nativescript-cli#run-your-project)\n* [Full list of commands](https://github.com/NativeScript/nativescript-cli#the-commands)\n\n## Unittesting\nThis plugin automatically adds Jasmine-based unittest support to your plugin.\nOpen `demo/app/tests/tests.js` and adjust its contents.\n\nYou can read more about this topic [here](https://docs.nativescript.org/tooling/testing).\n\nOnce you're ready to test your plugin's API execute one of these commands in the plugin root:\n\n```\nnpm run test.ios\nnpm run test.android\n```\n\n## Publish\n\nWhen you have everything ready to publish:\n\n* Bump the version number in `package.json`\n* `npm run build` - **very important** - ensure the latest is built **before** you publish\n* `npm publish`\n\n## Contributing - Want to make the seed better?\n\nOr at least help keep it up to date with NativeScript releases, which would be excellent.\n\n```\nnpm install -g typescript  // if you don't already have it\ngit clone https://github.com/NathanWalker/nativescript-plugin-seed\ncd nativescript-plugin-seed\n\n// Improve!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddfreiling%2Ftns-plugin-pod-avplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddfreiling%2Ftns-plugin-pod-avplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddfreiling%2Ftns-plugin-pod-avplayer/lists"}