{"id":15193857,"url":"https://github.com/nathanwalker/ionic-nativescript","last_synced_at":"2025-09-05T04:32:05.657Z","repository":{"id":142262915,"uuid":"355779196","full_name":"NathanWalker/ionic-nativescript","owner":"NathanWalker","description":"Angular Ionic app built with Capacitor and NativeScript","archived":false,"fork":false,"pushed_at":"2021-05-19T19:38:03.000Z","size":1633,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T11:43:36.448Z","etag":null,"topics":["android","angular","capacitor","ionic","ios","nativescript","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/NathanWalker.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":"2021-04-08T05:53:02.000Z","updated_at":"2024-05-30T16:14:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f22cc7e-db16-4484-9221-57941ceaa796","html_url":"https://github.com/NathanWalker/ionic-nativescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NathanWalker/ionic-nativescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fionic-nativescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fionic-nativescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fionic-nativescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fionic-nativescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NathanWalker","download_url":"https://codeload.github.com/NathanWalker/ionic-nativescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NathanWalker%2Fionic-nativescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273713283,"owners_count":25154606,"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-09-05T02:00:09.113Z","response_time":402,"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":["android","angular","capacitor","ionic","ios","nativescript","typescript"],"created_at":"2024-09-27T22:05:48.289Z","updated_at":"2025-09-05T04:32:00.636Z","avatar_url":"https://github.com/NathanWalker.png","language":"TypeScript","readme":"## Angular Ionic app built with Capacitor + NativeScript\n\nThis example app demonstrates the following:\n\n* Angular Ionic app built with Capacitor\n* Usage of [@nativescript/capacitor](https://capacitor.nativescript.org/) to help solve real world issues\n* Native iOS/Android UI with Web Dom interactions\n* How to build a native video streaming player yourself with NativeScript for Capacitor\n* How to handle battery level change system notifications for iOS and Android using NativeScript for Capacitor\n\nThe Musical video clips used herein are only samples from recorded musical productions for free fairplay use and not intended to be high quality reproductions of those musicals in anyway.\n\nhttps://user-images.githubusercontent.com/457187/117690782-13b4c680-b170-11eb-997a-cb3f812a2a5f.mp4\n\n## Reference docs\n\n* https://ionicframework.com/\n* https://capacitorjs.com/\n* https://capacitor.nativescript.org/\n\n## Take it for a spin\n\nRun this after cloning:\n\n```\nnpm run clean\n```\n\nNOTE: If you get prompted about installing `webpack` you can choose 'y'. This may prompt when using npm 7+.\n\nIt will set things up.\n\nNow build it and prepare:\n\n```\nnpm run build:mobile\nnpx cap sync\n```\n\nYou can now run on either iOS or Android:\n\n```\nnpx cap open ios\n// or...\nnpx cap open android\n```\n\n## Troubleshooting \n\n### Android\n\n1. If you see a build/run issue related to 'node', for example like this:\n\n```\n\u003e Task :capacitor-android:compileDebugLibraryResources\n\u003e Task :app:runSbg FAILED\nError executing Static Binding Generator: java.io.IOException: Cannot run program \"node\": error=2, No such file or directory\n```\n\nThis means Android Studio could not find node. Close and open Android Studio via Terminal as follows which will help:\n\n```\nopen -a \"Android Studio\"\n```\n\n2. If you see an issue like this in the build log:\n\n```\nCaused by: java.lang.ClassNotFoundException: Didn't find class \"io.nstudio.ngconf2021.CustomActivity\" on path: DexPathList\n```\n\nThis usually means a good project clean is needed. Try doing a full 'Project Clean' in Android Studio and build/run. If you still see the issue, try running once more - usually related to a clean/build cycle with Android Studio.\n\n### iOS\n\nPicture-in-Picture mode works only on a real device. You can plug an iPhone in and launch on your phone from Xcode to experience the PIP mode.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanwalker%2Fionic-nativescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanwalker%2Fionic-nativescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanwalker%2Fionic-nativescript/lists"}