[ionic v4] any camera-preview (cordova) success?

Hello everyone

trying to get my camera preview app up and running
i started with a tabs template

the Camera-preview options needs toBack property to equal true and so all the pages with backgrounds in front of the preview area must be transparent

I know for Ionic v3, the app.scss required

html, body, .ion-app, .ion-content, .nav-decor {
    background-color: transparent !important;

but with css variables and the shadow dom, how would this translate for v4?


1 Like


ion-content { 
  --background: transparent !important;

in the style sheet you want the transparent background. Here for me it worked perfectly.

1 Like