Tyler Vorpahl created CB-13455:
----------------------------------

             Summary: Reverting CB-12015 causes viewport issues on Android
                 Key: CB-13455
                 URL: https://issues.apache.org/jira/browse/CB-13455
             Project: Apache Cordova
          Issue Type: Bug
         Environment:     <engine name="android" spec="^6.2.3" />    

    <platform name="android">
        <content src="index.html" />
        <allow-intent href="market:*" />
        <preference name="fullscreen" value="false" />
        <preference name="android-windowSoftInputMode" value="adjustPan" />
        <preference name="AndroidPersistentFileLocation" value="Internal" />
        <preference name="android-minSdkVersion" value="16" />
        <preference name="android-targetSdkVersion" value="25" />
        <icon density="ldpi" src="../images/android/ldpi/ic_launcher.png" />
        <icon density="mdpi" src="../images/android/mdpi/ic_launcher.png" />
        <icon density="hdpi" src="../images/android/hdpi/ic_launcher.png" />
        <icon density="xhdpi" src="../images/android/xhdpi/ic_launcher.png" />
        <icon density="xxhdpi" src="../images/android/xxhdpi/ic_launcher.png" />
        <splash density="land-ldpi" 
src="../images/android/ldpi/splash_land.png" />
        <splash density="land-mdpi" 
src="../images/android/mdpi/splash_land.png" />
        <splash density="land-hdpi" 
src="../images/android/hdpi/splash_land.png" />
        <splash density="land-xhdpi" 
src="../images/android/xhdpi/splash_land.png" />
        <splash density="land-xxhdpi" 
src="../images/android/xxhdpi/splash_land.png" />
        <splash density="port-ldpi" 
src="../images/android/ldpi/splash_port.png" />
        <splash density="port-mdpi" 
src="../images/android/mdpi/splash_port.png" />
        <splash density="port-hdpi" 
src="../images/android/hdpi/splash_port.png" />
        <splash density="port-xhdpi" 
src="../images/android/xhdpi/splash_port.png" />
        <splash density="port-xxhdpi" 
src="../images/android/xxhdpi/splash_port.png" />
        <preference name="SplashMaintainAspectRatio" value="true" />
    </platform>
            Reporter: Tyler Vorpahl
            Priority: Minor


CB-12015 added the following two lines:
# settings.setUseWideViewPort(true);
# settings.setLoadWithOverviewMode(true);
To initWebViewSettings() method in SystemWebViewEngine

Using the following viewport tags in our index.html of our application, we have 
not had any issues with Android.

<meta name="viewport" content="width=device-width, initial-scale=1, 
maximum-scale=1.0, minimum-scale=1, user-scalable=no">

Since CB-12939, reverting the change in CB-12015 has caused our app to not 
properly fit the viewport. This has been observed in a Motorolla X 37 and 
Samsung Galaxy S7.

The defect causes the app the be moveable within the viewport, allowing the 
user to slide the screen around where this was not observed prior to CB-12015 
being reverted as a result of CB-12939.

Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to