https://github.com/c0debrain/bernerjs-demo
The Ionic and Capacitor demo app displayed at the BärnerJS Talks #5
https://github.com/c0debrain/bernerjs-demo
Last synced: 11 months ago
JSON representation
The Ionic and Capacitor demo app displayed at the BärnerJS Talks #5
- Host: GitHub
- URL: https://github.com/c0debrain/bernerjs-demo
- Owner: c0debrain
- Created: 2019-12-03T04:22:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-27T10:15:54.000Z (over 7 years ago)
- Last Synced: 2025-01-01T17:42:27.115Z (about 1 year ago)
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bernerjs-demo
The Ionic and Capacitor demo app displayed at the [BärnerJS Talks #5](https://www.meetup.com/r/site/comment/201022135/notification/https://www.meetup.com/fr-FR/Barner-JS-Talks/events/250767516)
## Getting Started
The goal of this demo was to show how simple is it to access to camera in the browser or in an iOS app using [Capacitor](https://capacitor.ionicframework.com) within an [Ionic](https://ionicframework.com) project
The coding find place during my talk about my journey using Ionic to build my mobile application [Fluster](https://fluster.io)
The slides of the talk are available in following [repo](https://github.com/peterpeterparker/ionic-bernerjs)
### Installing
git clone https://github.com/peterpeterparker/bernerjs-demo
cd bernerjs-demo
npm install
### Testing the camera in the browser
ionic serve
that's it
### Testing the camera in an iOS app
You may have to init the platform since I didn't added it to Git (`npx cap init` and `npx cap add ios`)
ionic build --prod
npx cap copy
and then open the platform in XCode, run, enjoy