{"id":13697144,"url":"https://github.com/dsgriffin/ionic-3-file-transfer-example","last_synced_at":"2025-03-21T22:32:05.459Z","repository":{"id":108902694,"uuid":"56239358","full_name":"dsgriffin/ionic-3-file-transfer-example","owner":"dsgriffin","description":"File Transfer in Ionic 3 using Ionic Native's File and Transfer modules :file_folder:","archived":true,"fork":false,"pushed_at":"2024-12-29T21:39:47.000Z","size":1701,"stargazers_count":112,"open_issues_count":3,"forks_count":60,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-01-13T21:02:07.086Z","etag":null,"topics":["file-transfer","ionic","ionic3","javascript","js","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dsgriffin.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":"2016-04-14T13:24:24.000Z","updated_at":"2024-12-29T21:40:31.000Z","dependencies_parsed_at":"2025-01-13T21:02:09.810Z","dependency_job_id":"56d89456-5ba3-4e86-996c-ea0256325552","html_url":"https://github.com/dsgriffin/ionic-3-file-transfer-example","commit_stats":null,"previous_names":["dsgriffin/ionic-2-file-transfer-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsgriffin%2Fionic-3-file-transfer-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsgriffin%2Fionic-3-file-transfer-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsgriffin%2Fionic-3-file-transfer-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsgriffin%2Fionic-3-file-transfer-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsgriffin","download_url":"https://codeload.github.com/dsgriffin/ionic-3-file-transfer-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880426,"owners_count":20525507,"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":["file-transfer","ionic","ionic3","javascript","js","typescript"],"created_at":"2024-08-02T18:00:53.082Z","updated_at":"2025-03-21T22:32:05.452Z","avatar_url":"https://github.com/dsgriffin.png","language":"TypeScript","readme":"# Ionic 3 File Transfer Example 📁\n\n![](https://img.shields.io/badge/ionic-3.5.0-green.svg)\n\nA simple file transfer example in Ionic 3 using Ionic Native's\n\n*  [Transfer](http://ionicframework.com/docs/native/transfer/) module to download a file to the local device\n* And then, using the [File](http://ionicframework.com/docs/native/file/) module, retrieve that file\n\n\u003cimg src=\"http://dsgriffin.github.io/images/ionic-3-file-transfer-example/results.png\" width=\"450\" height=\"450\" /\u003e\n\n## Requirements\n\n* File Transfer will not work on an emulator; you'll need an iOS or Android device\n* If you're building/testing for/on iOS, you'll need XCode.\n\n## Build\n\nClone the repository and follow the steps based on the platform of your device.\n\n#### iOS\n\n1. `npm install`\n2. `cordova platform add ios`\n3. `ionic cordova build ios`\n4. Connect your iOS device and run the application, either by\n  1. Opening up the relevant `.xcodeproj` on `Xcode` and clicking the run button (making sure your device is selected)\n  2. Running `ionic cordova run ios --device` on your CLI - this requires that the npm package `ios-deploy` is installed globally (`npm install -g ios-deploy`)\n\n### Android\n\n1. `npm install`\n2. `cordova platform add android`\n3. `ionic cordova build android`\n4. Connect your Android device and run the application with `ionic cordova run android` (make sure USB debugging is enabled on your device)\n\n## File Transfer - Storage Locations\n\nThe `.jpg` used in this example is saved in different locations dependant on platform:\n\n* **iOS** - in the app-specific `Documents/` folder using `cordova.file.documentsDirectory`\n\n* **Android** - persistent and private data storage within the application's sandbox using `cordova.file.dataDirectory`\n\n[Here's the list](https://github.com/apache/cordova-plugin-file#where-to-store-files) of the different places you can store files using this plugin.\n\n## Contributing\n\nIf you've found a bug or have an idea, feel free to open an Issue. If you've got a fix or feature ready, open a PR. Thanks!\n\n## License\n\nMIT\n","funding_links":[],"categories":["Boilerplate/Demo Apps"],"sub_categories":["Pipe"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsgriffin%2Fionic-3-file-transfer-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsgriffin%2Fionic-3-file-transfer-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsgriffin%2Fionic-3-file-transfer-example/lists"}