Code Monkey home page Code Monkey logo

Comments (10)

pnwk112 avatar pnwk112 commented on May 30, 2024 6

Any fix for this issue?

from cordova-lib.

jameelio avatar jameelio commented on May 30, 2024

Hi @geniusq1981 I am experiencing the same issue at the moment,while developing in cordova using inappbrowser. I would like to know if you got a way around this issue.
Kind Regards

from cordova-lib.

basvanmeurs avatar basvanmeurs commented on May 30, 2024

Same here. Actually I built my own Activity (without cordova) and the scaling worked fine. I couldn’t really find the cause so far but noticed that the initial precision was set to 0 by cordova (???). When I manually reset the precision to 1 the scaling was better but still not correct.

from cordova-lib.

rokobuljan avatar rokobuljan commented on May 30, 2024

Also having the exact same issue. By removing meta for viewport, and directly loading the page on a mobile device (1080 x 1920 in my case) the app shows as expected: exactly 1080 x 1920. But, Cordova-wrapped in WebView it appears up-scaled and with scrollbars... I have no plans or desire to use CSS transform scale to fix this issue.
Any solution to this?
PS: target-densitydpi=device-dpi does not seem to make any difference. (Closely related to https://stackoverflow.com/questions/20511028/screen-resolution-on-a-phonegap-app)

from cordova-lib.

brodybits avatar brodybits commented on May 30, 2024

Please raise Android-specific issue in: https://github.com/apache/cordova-android/issues

I cannot promise when a maintainer would get a chance to look at this one.

A couple more ideas:

  • try xhttps://github.com/ionic-team/cordova-plugin-ionic-webview
  • try Capacitor framework

from cordova-lib.

tscislo avatar tscislo commented on May 30, 2024

Was anyone able to solve this using just Cordova?

from cordova-lib.

onelsonic avatar onelsonic commented on May 30, 2024

same issues here I moved it to https://github.com/apache/cordova-android/issues

from cordova-lib.

raphinesse avatar raphinesse commented on May 30, 2024

Closing in favor of apache/cordova-android#870

from cordova-lib.

jaydge avatar jaydge commented on May 30, 2024

FYI, this is happening on iOS inAppBrowser also.

from cordova-lib.

brodybits avatar brodybits commented on May 30, 2024

Please report any plugin problems on the appropriate plugin. We really have no extra resources to support closed issues. Thanks.

from cordova-lib.

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.