Capacitor: Camera PWA/Browser with pwa-elements >= 0.0.12 wrong gray overlay / not displayed correctly

Created on 22 Jun 2018  路  7Comments  路  Source: ionic-team/capacitor

I'm submitting a:
[X] bug report

Current behavior:

Implementing the camera (base64) as displayed in the documentation (https://capacitor.ionicframework.com/docs/apis/camera) works just fine if I add the pwa-elements v0.0.11 in index.html respectively

 <script src='https://unpkg.com/@ionic/[email protected]/dist/ionicpwaelements.js'></script>

but as soon as I try to use pwa-elements 0.0.12 or above the camera isn't displayed anymore, it just end up in a gray overlay

 <script src='https://unpkg.com/@ionic/[email protected]/dist/ionicpwaelements.js'></script>

the camera feature itself still work, if I try my luck and click there or there at some point a photo is taken

Screenshots

pwa-element v0.0.11: OK

capture d ecran 2018-06-22 a 17 09 33

pwa-element v0.0.12: Not OK

capture d ecran 2018-06-22 a 17 08 05

Most helpful comment

This is just waiting on some last Ionic 4 bug fixes and then it'll work

All 7 comments

This is just waiting on some last Ionic 4 bug fixes and then it'll work

Can you test with <script src='https://unpkg.com/@ionic/[email protected]/dist/ionicpwaelements.js'></script>?
It's working fine on Ionic 4 apps.

@jcesarmobile still doesn't work in a v3 app

capture d ecran 2018-08-18 a 11 59 50

capture d ecran 2018-08-18 a 11 59 41

Ward

Can you try @ionic/pwa-elements 1.0.0? https://github.com/ionic-team/capacitor/issues/658#issuecomment-427504179

Didn't tested with an Ionic v3 app but I could confirm that I didn't faced the problem anymore when I tried to take a photo in Safari with the @ionic/pwa-elements 1.0.0 and a Ionic v4 app, no overlay problem, all good, thx a lot for the fix @mlynch 馃憤

w00t!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

json-derulo picture json-derulo  路  3Comments

natevw picture natevw  路  3Comments

MatanYadaev picture MatanYadaev  路  3Comments

stripathix picture stripathix  路  3Comments

moberwasserlechner picture moberwasserlechner  路  3Comments