Giter Club home page Giter Club logo

Comments (10)

marty-krishner avatar marty-krishner commented on May 29, 2024

+1

from cordova-plugin-camera-preview.

thomascrown avatar thomascrown commented on May 29, 2024

+1

from cordova-plugin-camera-preview.

Tawsif avatar Tawsif commented on May 29, 2024

+1

from cordova-plugin-camera-preview.

RichardBoyder avatar RichardBoyder commented on May 29, 2024

Hi guys, How do we fix this?

from cordova-plugin-camera-preview.

Tawsif avatar Tawsif commented on May 29, 2024

Any update on this ??

from cordova-plugin-camera-preview.

Tawsif avatar Tawsif commented on May 29, 2024

@joshuaohana got any solution to fix this ??

from cordova-plugin-camera-preview.

andrea-86 avatar andrea-86 commented on May 29, 2024

+1, it will be very nice!

from cordova-plugin-camera-preview.

joshuaohana avatar joshuaohana commented on May 29, 2024

@Tawsif @andrea-86 @RichardBoyder hah okay so apparently I didn't fix it, but came up with a janky hack...

Added the below (note my comment) to CameraActivity.onLayout(). Just hard-coded previewWidth and height. That's the size of the box I'm throwing the preview on and apparently it must've worked well enough because I haven't touched it since. To be honest, this was a while ago and I barely remember it...

        // this kinda works maybe 85% good
        //
        previewWidth = 200;
        previewHeight = 175;

from cordova-plugin-camera-preview.

julitroalves avatar julitroalves commented on May 29, 2024

I have noted that it occurs when the orientation device is set to landscape but the device is on portrait orientation so when camera preview loads it have dimensions of landscape orientation but in portrait format.

To test this issue hold the device, from begin of opening of app to full content loaded on view, in a given orientation and see if preview is zoomed in this case all occurs successfully.

from cordova-plugin-camera-preview.

weiz18 avatar weiz18 commented on May 29, 2024

hellom we re still facing the same issue.is there any way to fix it ?
cheers

from cordova-plugin-camera-preview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.