Open peterennis opened 4 years ago
Hey @peterennis I've made a PR that addresses your issues regarding testing!
As per your issue regarding the camera not working, if you open the console you'll see that cordova is not injected. Described here, https://github.com/ionic-team/ionic-native/issues/403 you should install native-run globally (npm i -g native-run
) and then run the app not with ionic serve but with ionic cordova run browser
@NikolaPeevski 👍 What is the link to the PR?
@peterennis https://github.com/ionic-team/photo-gallery-tutorial-ionic4/pull/7 it covers only missing imports in the test specs.
hi there, sorry about this - We need the CLI to pull the latest version of this app. This original version does not work on the Web, since it's Cordova/Ionic Native. Good news - We recently released a newer version that uses Capacitor over Cordova, and works on the web, ios, and android. Please find the code and guide here.
Description:
Tests fail on vanilla install using Starter template: my-first-app App does not work.
Steps to Reproduce:
ionic serve
npm test
Output:
The camera does not work.
I am using W10 with a laptop camera and this app used to work for capturing a photo.
My
ionic info
:Other Information:
I expect the app to work as a PWA initially.