{"id":25270178,"url":"https://github.com/distante/ionic-content-security-policy-problem-example","last_synced_at":"2025-04-06T06:15:58.275Z","repository":{"id":97388932,"uuid":"284049086","full_name":"distante/ionic-content-security-policy-problem-example","owner":"distante","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-31T14:07:52.000Z","size":671,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-12T11:39:24.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/distante.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":"2020-07-31T13:58:21.000Z","updated_at":"2020-07-31T14:07:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"80d2f057-2fbb-4d7d-86d8-84037242daaa","html_url":"https://github.com/distante/ionic-content-security-policy-problem-example","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/distante%2Fionic-content-security-policy-problem-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distante%2Fionic-content-security-policy-problem-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distante%2Fionic-content-security-policy-problem-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distante%2Fionic-content-security-policy-problem-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distante","download_url":"https://codeload.github.com/distante/ionic-content-security-policy-problem-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441057,"owners_count":20939239,"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":"2025-02-12T11:29:32.823Z","updated_at":"2025-04-06T06:15:58.264Z","avatar_url":"https://github.com/distante.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Your First Ionic App: Photo Gallery (Ionic Angular and Capacitor)\n\nGet started with Ionic by building a photo gallery app that runs on iOS, Android, and the web - with just one codebase. This is the complete project referenced in the [\"Your First App: Angular\" guide](https://ionicframework.com/docs/angular/your-first-app). Follow along to create a complete CRUD (create-read-update-delete) experience.\n\nPowered by [Ionic Angular](https://ionicframework.com/docs/angular/overview) (web app) and [Capacitor](https://capacitor.ionicframework.com) (native app runtime).\n\n## How It Works\n\nAfter the user navigates to Tab 2 (Photos), they can tap/click on the camera button to open up the device's camera. After taking or selecting a photo, it's stored permanently into the device's filesystem. When the user reopens the app at a later time, the photo images are loaded from the filesystem and displayed again in the gallery. The user can tap on a photo to be presented with the option to remove the photo.\n\n## Feature Overview\n* App framework: [Angular](https://angular.io)\n* UI components: [Ionic Framework](https://ionicframework.com/docs/components)\n  * Camera button: [Floating Action Button (FAB)](https://ionicframework.com/docs/api/fab)\n  * Photo Gallery display: [Grid](https://ionicframework.com/docs/api/grid)\n  * Delete Photo dialog: [Action Sheet](https://ionicframework.com/docs/api/action-sheet) \n* Native runtime: [Capacitor](https://capacitor.ionicframework.com)\n  * Taking photos: [Camera API](https://capacitor.ionicframework.com/docs/apis/camera)\n  * Writing photo to the filesystem: [Filesystem API](https://capacitor.ionicframework.com/docs/apis/filesystem)\n  * Storing photo gallery metadata: [Storage API](https://capacitor.ionicframework.com/docs/apis/storage)\n\n## Project Structure\n* Tab2 (Photos) (`src/app/tab2/`): Photo Gallery UI and basic logic.\n* PhotoService (`src/app/services/photo.service.ts`): Logic encapsulating Capacitor APIs, including Camera, Filesystem, and Storage.\n\n## How to Run\n\n\u003e Note: It's highly recommended to follow along with the [tutorial guide](https://ionicframework.com/docs/angular/your-first-app), which goes into more depth, but this is the fastest way to run the app. \n\n0) Install Ionic if needed: `npm install -g @ionic/cli`.\n1) Clone this repository.\n2) In a terminal, change directory into the repo: `cd photo-gallery-capacitor-ng`.\n3) Install all packages: `npm install`.\n4) Run on the web: `ionic serve`.\n5) Run on iOS or Android: See [here](https://ionicframework.com/docs/building/running).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistante%2Fionic-content-security-policy-problem-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistante%2Fionic-content-security-policy-problem-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistante%2Fionic-content-security-policy-problem-example/lists"}